fs: add support for buffered writeback to pass down write hints

Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
Jens Axboe 2017-06-27 09:30:05 -06:00
commit 8e8f929881
2 changed files with 9 additions and 5 deletions

View file

@ -615,6 +615,7 @@ alloc_new:
goto confused;
wbc_init_bio(wbc, bio);
bio->bi_write_hint = inode->i_write_hint;
}
/*