]> www.infradead.org Git - users/hch/misc.git/commit
block: introduce max_write_streams queue limit
authorKeith Busch <kbusch@kernel.org>
Fri, 8 Nov 2024 19:36:22 +0000 (11:36 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2024 10:34:51 +0000 (11:34 +0100)
commit49ec887da7546a3dfc43a084739dfcbb2ce8c63a
tree9e16e271a5cbdd8c6a270fa6e5fc914dbfec2cc9
parent6fb3da2c971e5386a8741b51b9adf06de1f46b05
block: introduce max_write_streams queue limit

Drivers with hardware that support write streams need a way to export how
many are available so applications can generically query this.

Note: compared to Keith's origina version this does not automatically
stack the limit.  There is no good way to generically stack them.  For
mirroring or striping just mirroring the write streams will work, but
for everything more complex the stacking drive actually needs to manage
them.

Signed-off-by: Keith Busch <kbusch@kernel.org>
[hch: renamed from max_write_hints to max_write_streams]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Documentation/ABI/stable/sysfs-block
block/blk-sysfs.c
include/linux/blkdev.h