On Sat, Oct 29, 2005 at 12:39:34PM -0400, Christopher Martin wrote:
> I was contemplating creating an XFS partition, and in the process of 
> verifying that XFS works with SELinux, came across this thread:
> 
> https://www.redhat.com/archives/fedora-selinux-list/2004-October/msg00023.html
> 
> It indicates that for optimal operation with SELinux, XFS should use an 
> inode size of 512 instead of the default 256. Thus I would suggest that 
> Debian's xfsprogs default to 512 (instead of the normal 256), to ensure 
> that future users of XFS and SELinux have an optimal experience, without 
> having to know about this little quirk.

Hi Christopher,

The issue is more complex than indicated here, but the news is all good
in the end...

Changing the default inode size to be larger is not going to happen.
While it will (currently) improve extended attribute performance, it
has performance implications for everyone not using those (which is
most people).

However, we recently extended XFS to use a different algorithm for
managing the "literal area" of the inode (after the stat stat, where
inline data and attr information is stored) to use a more efficient
representation - ultimately, this will mean 256 byte inodes will
perform as well as 512 byte inodes in many situations that previously
they would not have.

This code will first be in the xfsprogs-2.7.x userspace package, and
kernels after 2.6.15 (or perhaps 2.6.16).  Look for the attr2 mount
option.

So, I'll close this bug out when I upload a 2.7-based xfsprogs.

cheers.

-- 
Nathan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to