diff options
author | Ming Lei <[email protected]> | 2023-08-10 20:43:26 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-20 20:24:34 -0600 |
commit | 851e06297f20bbd85c93bbf09469f2150d1db218 (patch) | |
tree | 1a372f811e94b24aa7928873f9b784aadabef1a8 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | eb051b2d3118210b468870aedf21618d697f4f45 (diff) |
ublk: zoned: support REQ_OP_ZONE_RESET_ALL
There isn't any reason to not support REQ_OP_ZONE_RESET_ALL given everything
is actually handled in userspace, not mention it is pretty easy to support
RESET_ALL.
So enable REQ_OP_ZONE_RESET_ALL and let userspace handle it.
Verified by 'tools/zbc_reset_zone -all /dev/ublkb0' in libzbc[1] with
libublk-rs based ublk-zoned target prototype[2], follows command line
for creating ublk-zoned:
cargo run --example zoned -- add -1 1024 # add $dev_id $DEV_SIZE
[1] https://github.com/westerndigitalcorporation/libzbc
[2] https://github.com/ming1/libublk-rs/tree/zoned.v2
Cc: Niklas Cassel <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: Andreas Hindborg <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions