mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
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>
This commit is contained in:
parent
951c30d135
commit
b17621fed6
3 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue