OSDN Git Service

f2fs: pass the bio operation to bio_alloc_bioset
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 12:41:23 +0000 (14:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Mar 2022 00:59:03 +0000 (17:59 -0700)
commit64bf0eef0171912f7c2f3ea30ee6ad7a2ad0a511
treeb6de6d0f5a9c62d6523ac6e230be11cf4380bdb0
parent5189810a6687b6f01d35b4a7b407eb1f6edb97e5
f2fs: pass the bio operation to bio_alloc_bioset

Refactor block I/O code so that the bio operation and known flags are set
at bio allocation time.  Only the later updated flags are updated on the
fly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20220228124123.856027-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/f2fs/data.c