]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
zloop: make the write pointer of full zones invalid
authorDamien Le Moal <dlemoal@kernel.org>
Sat, 15 Nov 2025 12:15:51 +0000 (21:15 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Nov 2025 16:40:09 +0000 (09:40 -0700)
commit866d65745b635927c3d1343ab67e6fd4a99d116d
treea3ded86e5d762e521166e252677eafa2bbf5608f
parent6483faa3938bfbd2c9f8ae090f647635f3bd2877
zloop: make the write pointer of full zones invalid

The write pointer of zones that are in the full condition is always
invalid. Reflect that fact by setting the write pointer of full zones
to ULLONG_MAX.

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>
drivers/block/zloop.c