summaryrefslogtreecommitdiff
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-27 18:30:05 +0300
committerJens Axboe <axboe@kernel.dk>2017-06-27 21:05:39 +0300
commit8e8f9298818c4c2754182d544158cb182581a9ab (patch)
treeac4686cddb6dd3887acdb3bc921194fea38821d7 /fs/mpage.c
parent45d06cf701a3866e0d246789039a46370af60223 (diff)
downloadlinux-8e8f9298818c4c2754182d544158cb182581a9ab.tar.xz
fs: add support for buffered writeback to pass down write hints
Reviewed-by: Andreas Dilger <adilger@dilger.ca> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/mpage.c')
-rw-r--r--fs/mpage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/mpage.c b/fs/mpage.c
index 9524fdde00c2..d6d1486d6f99 100644
--- a/fs/mpage.c
+++ b/fs/mpage.c
@@ -615,6 +615,7 @@ alloc_new:
goto confused;
wbc_init_bio(wbc, bio);
+ bio->bi_write_hint = inode->i_write_hint;
}
/*