Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cca588d6 authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker
Browse files

NFS: Reclaim writes via writepage are opportunistic



No need to make them a priority any more, or to make them succeed.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent abf4e13c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -245,8 +245,7 @@ static void nfs_mark_uptodate(struct nfs_page *req)
static int wb_priority(struct writeback_control *wbc)
{
	int ret = 0;
	if (wbc->for_reclaim)
		return FLUSH_HIGHPRI | FLUSH_COND_STABLE;

	if (wbc->sync_mode == WB_SYNC_ALL)
		ret = FLUSH_COND_STABLE;
	return ret;