diff options
author | Wu Fengguang <fengguang.wu@gmail.com> | 2009-12-03 13:54:25 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-03 13:54:25 +0100 |
commit | b17621fed6aa039387e35f9b4d34d98f213e5673 (patch) | |
tree | bc755d1aa204518600a6d82dd51d970c685dc68c /fs/fs-writeback.c | |
parent | writeback: remove the always false bdi_cap_writeback_dirty() test (diff) | |
download | linux-b17621fed6aa039387e35f9b4d34d98f213e5673.tar.xz linux-b17621fed6aa039387e35f9b4d34d98f213e5673.zip |
writeback: introduce wbc.for_background
It will lower the flush priority for NFS, and maybe more in future.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 0306c8e7d6b5..0793961f7699 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -738,6 +738,7 @@ static long wb_writeback(struct bdi_writeback *wb, .sync_mode = args->sync_mode, .older_than_this = NULL, .for_kupdate = args->for_kupdate, + .for_background = args->for_background, .range_cyclic = args->range_cyclic, }; unsigned long oldest_jif; |