> Hello,
> I tried to use XFS with devices of sector sizes larger than 512 Byte and
> failed.
> Apparently there are dependencies to a fixed blocksize of 512 Byte all over
> the code of XFS.
> Are these contraints unavoidable by the design of XFS or could you imagine
> running an XFS e.g. on a device with 4k blocksize and what needs to be done
> to the code in order to do so?
>
> Gruesse / Regards
> Dr. Holger Smolinski
Yes, unfortunately XFS is built around assumptions about 512 byte block
sizes. There was an internal project to clean this up which was shelved
a while back, I will ask around and see if the code still exists. I
think this would end up with an incompatible on disk format, given that
some structures would change size, but I think that would be an acceptable
solution for devices with a larger block size.
I mentioned one of the aspects in email yesterday, there are some 512
byte long metadata objects which need to be separately accessible on
disk. The one I forgot is the log, which is written in 512 byte chunks.
Steve
|