]> www.infradead.org Git - users/hch/misc.git/commit
block: Use enum to define RQF_x bit indexes
authorJohn Garry <john.g.garry@oracle.com>
Fri, 19 Jul 2024 11:29:10 +0000 (11:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 19 Jul 2024 15:32:49 +0000 (09:32 -0600)
commit5f89154e8e9e3445f9b592e58a7045e06153b822
tree834a9773a830bc26a8269afaef3214505697f076
parent6fa99325ec86bcd442363d77561a1babd8d9a427
block: Use enum to define RQF_x bit indexes

Similar to what we do for enum req_flag_bits, divide the definition of
RQF_x flags into an enum to declare the bits and an actual flag.

Tweak some comments to not spill onto new lines.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240719112912.3830443-14-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h