summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-27 17:30:05 +0200
committerJens Axboe <axboe@kernel.dk>2017-06-27 20:05:39 +0200
commit8e8f9298818c4c2754182d544158cb182581a9ab (patch)
treeac4686cddb6dd3887acdb3bc921194fea38821d7 /fs/mpage.c
parentfs: add O_DIRECT and aio support for sending down write life time hints (diff)
downloadlinux-8e8f9298818c4c2754182d544158cb182581a9ab.tar.xz
linux-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;
}
/*