Re: [PATCH] xfs_mdrestore: don't allow restoring onto zoned block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 12, 2025 at 08:12:40AM -0700, Darrick J. Wong wrote:
> I wonder if there ought to be guards around blkzoned.h, but OTOH that
> seems to have been introduced in 4.9 around 8 years ago so maybe it's
> fine?

I think we're fine.  If not we'll also need to do this for mkfs and
repair anyway.

> /me is willing to go along with that if the maintainer is.  Meanwhile
> the code changes make sense so as long as there isn't some "set the
> write pointer to an arbitrary LBA" command that I missed,

There isn't.  It would have been really useful for testing, though..

> Reviewed-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
> 
> since we wouldn't be mdrestoring user file data to the zoned section,
> right?

Well, mdrestore can't even restore user data :)





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux