]> git.baikalelectronics.ru Git - kernel.git/commit
dm/core: Reduce the size of struct dm_io_request
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:47 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commit7e991f1a5c8006adf8a72920d666de76a6f5118c
tree70f8bc0813887f294b9658ae352550be14cf83e7
parent387f1f2d1dfcecc53ad4f4446e05fcba0945075d
dm/core: Reduce the size of struct dm_io_request

Combine the bi_op and bi_op_flags into the bi_opf member. Use the new
blk_opf_t type to improve static type checking. This patch does not
change any functionality.

Cc: Alasdair Kergon <agk@redhat.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-22-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-bufio.c
drivers/md/dm-integrity.c
drivers/md/dm-io.c
drivers/md/dm-kcopyd.c
drivers/md/dm-log.c
drivers/md/dm-raid1.c
drivers/md/dm-snap-persistent.c
drivers/md/dm-writecache.c
include/linux/dm-io.h