]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e3c0bec91bf4635e40cf1fe02dda5eba4c1646f
treecdc879bb778abecd354f9a36798c026a4347031f
parentadbe3c38b2a2c11b78d3ba1122fbef69527f006c
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