diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-04 18:55:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-07 12:45:57 -0700 |
commit | c75e707fe1aab32f1dc8e09845533b6542d9aaa9 (patch) | |
tree | 9677a5c6208862bfa95b0b5b9d7a635b0d3b3e2f /fs/btrfs | |
parent | 85e6c775762aa4067d2c2b8121e59a06564d0dc4 (diff) | |
download | linux-stable-c75e707fe1aab32f1dc8e09845533b6542d9aaa9.tar.gz linux-stable-c75e707fe1aab32f1dc8e09845533b6542d9aaa9.tar.bz2 linux-stable-c75e707fe1aab32f1dc8e09845533b6542d9aaa9.zip |
block: remove the per-bio/request write hint
With the NVMe support for this gone, there are no consumers of these hints
left, so remove them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220304175556.407719-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent_io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 5923eec8caa8..3b386bbb85a7 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -3321,7 +3321,6 @@ static int alloc_new_bio(struct btrfs_inode *inode, bio_ctrl->bio_flags = bio_flags; bio->bi_end_io = end_io_func; bio->bi_private = &inode->io_tree; - bio->bi_write_hint = inode->vfs_inode.i_write_hint; bio->bi_opf = opf; ret = calc_bio_boundaries(bio_ctrl, inode, file_offset); if (ret < 0) |