Message ID | 20230726005742.303865-7-bvanassche@acm.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Improve the performance of F2FS on zoned UFS | expand |
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 5882afe71d82..6361553f4ab1 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -569,6 +569,7 @@ static void f2fs_submit_write_bio(struct f2fs_sb_info *sbi, struct bio *bio, } } + bio->bi_opf |= REQ_NO_ZONE_WRITE_LOCK; trace_f2fs_submit_write_bio(sbi->sb, type, bio); iostat_update_submit_ctx(bio, type); submit_bio(bio);
Set the REQ_NO_ZONE_WRITE_LOCK flag to inform the block layer that F2FS allocates and submits zoned writes in LBA order per zone. Cc: Jaegeuk Kim <jaegeuk@kernel.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com> Cc: Ming Lei <ming.lei@redhat.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> --- fs/f2fs/data.c | 1 + 1 file changed, 1 insertion(+)