diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-08-04 05:50:22 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-08-04 06:55:31 -0600 |
| commit | ca8f6548e6f79761cba66ec8cb45bf026da8bf7d (patch) | |
| tree | f1ebb0d26e0693a636ab25cbbfd3db5b8c39c474 /include/uapi | |
| parent | b3c5f8d05e68963dea7c0cb9bc60e9e669b5c54e (diff) | |
| download | linux-stable-ca8f6548e6f79761cba66ec8cb45bf026da8bf7d.tar.gz linux-stable-ca8f6548e6f79761cba66ec8cb45bf026da8bf7d.zip | |
block: implement async io_uring zone reset all
Add a new BLOCK_URING_CMD_ZONE_RESET_ALL uring cmd to reset all zones
for a given block device. This can be used by storage systems or
file system mkfs tools to initialize multiple devices in parallel.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260804125038.740388-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/blkdev.h b/include/uapi/linux/blkdev.h index 66373cd1a83a..57b0bbd04e2b 100644 --- a/include/uapi/linux/blkdev.h +++ b/include/uapi/linux/blkdev.h @@ -10,5 +10,6 @@ * It's a different number space from ioctl(), reuse the block's code 0x12. */ #define BLOCK_URING_CMD_DISCARD _IO(0x12, 0) +#define BLOCK_URING_CMD_ZONE_RESET_ALL _IO(0x12, 1) #endif |
