]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf46f888d611ca7de32522915578b8d32a5eb3f3a
treeb6de6d0f5a9c62d6523ac6e230be11cf4380bdb0
parent38d83242fe26ee192d9b5ea376a4d76ab93eb5bd
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