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@xxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> Cc: Ming Lei <ming.lei@xxxxxxxxxx> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> --- fs/f2fs/data.c | 1 + 1 file changed, 1 insertion(+) 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);