diff options
author | Bart Van Assche <bvanassche@acm.org> | 2022-07-14 11:06:31 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-14 12:14:30 -0600 |
commit | 342a72a334073f163da924b69c3d3fb4685eb33a (patch) | |
tree | 24305fcdf56552cc2a7e8aae25d8618a29aecfa1 /block/blk-mq-sched.h | |
parent | 2d9b02be73ba8efba406b399a722b4e33614dd0e (diff) | |
download | lwn-342a72a334073f163da924b69c3d3fb4685eb33a.tar.gz lwn-342a72a334073f163da924b69c3d3fb4685eb33a.zip |
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>
Diffstat (limited to 'block/blk-mq-sched.h')
0 files changed, 0 insertions, 0 deletions