[PATCH] xfsdump support for 64K page size

Dave Chinner david at fromorbit.com
Wed Jan 14 16:48:57 CST 2009


On Fri, Jan 09, 2009 at 01:36:30PM -0600, Bill Kendall wrote:
> Dave Chinner wrote:
> > BTW, these changes are the *exact* patches I sent back in March.
> > I note that the change logs from those patches have been dropped
> > on the floor. i.e.:
> 
> Right, only difference is that I removed the asserts rather than
> just having them commented out. In my determination the asserts
> are totally bogus -- there isn't a dependency on the system's
> page size in the inomap code.

.....

> The inomap code uses xfsdump's PGSZ variable, which is fixed at 4K.
> There's no dependency here on the system's actual page size. I was
> able to dump and then restore on a system with a different page size.

Ok, that looks fine. however, there is a dependency that HNKSZ >=
PGSZ, right? And that is currently hardwired to (4 * PGSZ)?

And given that the intent of the PGSZ was to be made variable at
some point, isn't this really trying to ensure that HNKSZ is always
greater than the PGSZ the program was built with?

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list