[PATCH 07/13] block: track zone conditions
Christoph Hellwig
hch at lst.de
Tue Nov 4 04:03:09 PST 2025
On Tue, Nov 04, 2025 at 07:53:07AM +0900, Damien Le Moal wrote:
> > In case current file systems store this, isn't that a code duplication for each
> > fs ? perhaps having a central interface at block layer should help remove the
> > code duplication ?
>
> catch 22: You cannot ask the file system without first knowing the zone layout
> and conditions of zone to check the file system metadata.
The file system also really needs to verify that it's view matches the
hardware view at mount time, otherwise you'll run into really nasty
cases later when they are out of sync due to a bug or corruption.
More information about the Linux-nvme
mailing list