aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@gmail.com>2009-12-03 07:54:25 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-12-03 07:54:25 -0500
commitb17621fed6aa039387e35f9b4d34d98f213e5673 (patch)
treebc755d1aa204518600a6d82dd51d970c685dc68c /fs/fs-writeback.c
parent951c30d135390a108f102b0f6e3cfa6241f2a1aa (diff)
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.c1
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,
738 .sync_mode = args->sync_mode, 738 .sync_mode = args->sync_mode,
739 .older_than_this = NULL, 739 .older_than_this = NULL,
740 .for_kupdate = args->for_kupdate, 740 .for_kupdate = args->for_kupdate,
741 .for_background = args->for_background,
741 .range_cyclic = args->range_cyclic, 742 .range_cyclic = args->range_cyclic,
742 }; 743 };
743 unsigned long oldest_jif; 744 unsigned long oldest_jif;