summaryrefslogtreecommitdiff
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-27 09:30:05 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-27 12:05:39 -0600
commit8e8f9298818c4c2754182d544158cb182581a9ab (patch)
treeac4686cddb6dd3887acdb3bc921194fea38821d7 /fs/mpage.c
parent45d06cf701a3866e0d246789039a46370af60223 (diff)
downloadlwn-8e8f9298818c4c2754182d544158cb182581a9ab.tar.gz
lwn-8e8f9298818c4c2754182d544158cb182581a9ab.zip
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;
}
/*