[PATCH 0/2, RFC] xfsprogs: try to handle mkfs of a file on 4k sector device

Christoph Hellwig hch at infradead.org
Wed May 28 00:41:42 CDT 2014


> We can modify platform_findsizes() to use the fsgeom call to get the
> "sector size" which should be used here, and warn that mismatches
> might exist if it fails.
> 
> This does mean there'll be a new warning emitted on fs images hosted
> on non-xfs filesystems; I'm not really quite sure it's worth it,
> hence the RFC nature of this lightly tested 2-patch series...

Might be time to introduce some generic VFS-level ioctl for the sector
size and dio alignment.  Any beer or chocolate that could motivate you
to get this done? :)

Also it would be nice to have a test case that exercises this new code.



More information about the xfs mailing list