Commit 319e8cfd authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: add helper macros to de-duplicate the queue sysfs attributes

A lof the code to implement the queue sysfs attributes is repetitive.
Add a few macros to generate the common cases.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240627111407.476276-3-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5476394a
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment