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/zonefs/super.c | |
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/zonefs/super.c')
-rw-r--r-- | fs/zonefs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index d331b52592a0..b71a23dd1255 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -695,7 +695,6 @@ static ssize_t zonefs_file_dio_append(struct kiocb *iocb, struct iov_iter *from) bio = bio_alloc(bdev, nr_pages, REQ_OP_ZONE_APPEND | REQ_SYNC | REQ_IDLE, GFP_NOFS); bio->bi_iter.bi_sector = zi->i_zsector; - bio->bi_write_hint = iocb->ki_hint; bio->bi_ioprio = iocb->ki_ioprio; if (iocb->ki_flags & IOCB_DSYNC) bio->bi_opf |= REQ_FUA; |