Re: Can BTRFS handle XATTRs larger than 4K?

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

 



On 2014-12-19 21:07, Richard Sharpe wrote:
Hi folks,

I need a Linux file system that supports XATTRs up to 64K.

Can BTRFS support that or is XFS the only Linux file system with such support?

At the moment, BTRFS is limited to xattrs that fit inline in the metadata nodes (so ~3900 bytes for a 4k leafsize).

XFS, however, isn't the only Linux filesystem that supports xattrs that size. Assuming that you are using a recent kernel, you can also use such xattrs on at least:
 * XFS
 * JFS
 * ext4
 * reiserfs (I think, not 100% certain about this one though)
* OCFS2 (even though it is technically a cluster fs, it can be run single node without the clustering)
 * ZFS (IIRC, ZFS supports unlimited xattr size)
* NTFS (no limit on xattr size, though you should use NTFS-3G instead of the in-kernel driver)
 * SquashFS (read-only)
 * HFS+ (Also no limit on xattr size)
Of these, I'd personally suggest using XFS unless you need to be able to shrink the filesystem, in which case I'd suggest ext4.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux