projects
/
linux-drm-fsl-dcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ac1bd
)
NFS: Flush reclaim writes using FLUSH_COND_STABLE
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 18:34:59 +0000
(13:34 -0500)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 18:34:59 +0000
(13:34 -0500)
If there are already writes queued up for commit, then don't flush
just this page even if it is a reclaim issue.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 7a4fe7d82e65e4463d290131998e8b429971bb53..1ea35f88eadbc64b5da229c6b5b10d4353169843 100644
(file)
--- a/
fs/nfs/write.c
+++ b/
fs/nfs/write.c
@@
-244,7
+244,7
@@
static int wb_priority(struct writeback_control *wbc)
{
int ret = 0;
if (wbc->for_reclaim)
- return FLUSH_HIGHPRI | FLUSH_STABLE;
+ return FLUSH_HIGHPRI | FLUSH_
COND_
STABLE;
if (wbc->sync_mode == WB_SYNC_ALL)
ret = FLUSH_COND_STABLE;
return ret;