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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -10,5 +10,6 @@ · 9 unmodified lines | |||
| 10 | * It's a different number space from ioctl(), reuse the block's code 0x12. | 10 | * It's a different number space from ioctl(), reuse the block's code 0x12. |
| 11 | */ | 11 | */ |
| 12 | #define BLOCK_URING_CMD_DISCARD _IO(0x12, 0) | 12 | #define BLOCK_URING_CMD_DISCARD _IO(0x12, 0) |
| 13 | #define BLOCK_URING_CMD_ZONE_RESET_ALL _IO(0x12, 1) | ||
| 13 | 14 | ||
| 14 | #endif | 15 | #endif |