summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2025-11-15 21:15:52 +0900
committerJens Axboe <axboe@kernel.dk>2025-11-17 09:40:09 -0700
commitcf28f6f923cb1dd2765b5c3d7697bb4dcf2096a0 (patch)
tree6b1e2ec9515fcedb1004a36cd77690bce6e02cd9 /tools/lib/python
parent866d65745b635927c3d1343ab67e6fd4a99d116d (diff)
zloop: fail zone append operations that are targeting full zones
zloop_rw() will fail any regular write operation that targets a full sequential zone. The check for this is indirect and achieved by checking the write pointer alignment of the write operation. But this check is ineffective for zone append operations since these are alwasy automatically directed at a zone write pointer. Prevent zone append operations from being executed in a full zone with an explicit check of the zone condition. Fixes: eb0570c7df23 ("block: new zoned loop block device driver") Cc: stable@vger.kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions