Re: [PATCH v2] zloop: truncate finished zones to zone capacity

Christoph Hellwig <[email protected]>
Newsgroups gmane.linux.block,gmane.linux.kernel,gmane.linux.kernel.stable
Message-ID <[email protected]>
On Tue, Aug 04, 2026 at 10:34:03AM +0800, raoxu wrote:
> However, zloop_finish_zone() currently truncates the backing file to the
> zone size. For devices with a reduced zone capacity, finishing a zone
> therefore creates a backing file larger than the zone capacity. After the
> device is removed and later re-added, that zone file is rejected instead
> of being restored as a full zone.

Can you add a blktests test case for this?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.