mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
writeback: introduce wbc.for_background
It will lower the flush priority for NFS, and maybe more in future. Signed-off-by: Wu Fengguang <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
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…
Reference in a new issue