block: export dma_alignment attribute
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:22 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit3850e13f2853a17c083eb00fad2c6da4fde0b41e
treecdc879bb778abecd354f9a36798c026a4347031f
parentc58c0074c54c2e2bb3bb0d5a4d8896bb660cc8bc
block: export dma_alignment attribute

User space may want to know how to align their buffers to avoid
bouncing. Export the queue attribute.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-4-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/ABI/stable/sysfs-block
block/blk-sysfs.c