Re: Can BTRFS handle XATTRs larger than 4K?

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

 



On Mon, Dec 22, 2014 at 6:28 AM, Austin S Hemmelgarn
<ahferroin7@xxxxxxxxx> wrote:
> 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.

Thanks for the info. I hadn't realized that ext4 had lifted the restriction.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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