]> 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)
commit07847c146150dfd2bef52aa5daf193b707edb013
treecdc879bb778abecd354f9a36798c026a4347031f
parent6f5a0eb93d9374a1326d4ed3d0de7b048d3acf45
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