mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 06:15:12 +00:00
NFS: Reclaim writes via writepage are opportunistic
No need to make them a priority any more, or to make them succeed. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
abf4e13cc1
commit
cca588d6c8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user