]> git.baikalelectronics.ru Git - kernel.git/commit
block: Introduce the type blk_opf_t
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:31 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:30 +0000 (12:14 -0600)
commitb00e54e9eb633328104bf2361d740d04e677d032
tree24305fcdf56552cc2a7e8aae25d8618a29aecfa1
parentbd1865096a07c7861f3098f4e3fda5bc73a50599
block: Introduce the type blk_opf_t

Introduce the type blk_opf_t for the request operation and flags (REQ_OP_*
and REQ_*). This type will be used to improve documentation of the block
layer code and also to allow sparse to verify whether request flags are used
correctly.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-6-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk_types.h