add a ZONE_RESET_ALL uring cmd v2 (resend)

Christoph Hellwig <[email protected]>
Newsgroups org.kernel.vger.io-uring,org.kernel.vger.linux-block
Message-ID <[email protected]>
Hi Jens,

this series adds a new ZONE_RESET_ALL uring cmd, and cleans up the
io_uring discard support and the block layer zone management code a
little bit in preparation for that.

This command is useful to speed up workloads that need to initialize a
large number (or even a small > 1 number) of disks.

This is just a resent with collected Reviewed-bys to get it back into
the attention window.


Diffstat:
 block/blk-core.c            |    6 +++-
 block/blk-zoned.c           |   30 ----------------------
 block/ioctl.c               |   60 ++++++++++++++++++++++++++++++++++----------
 include/uapi/linux/blkdev.h |    1 
 4 files changed, 53 insertions(+), 44 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.