xfs
[Top] [All Lists]

Extended attributes limit in Linux

To: xfs@xxxxxxxxxxx
Subject: Extended attributes limit in Linux
From: Sun_Blood <sblood@xxxxxxxxx>
Date: Fri, 31 Jan 2014 08:40:27 +0100
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0x4yCOjYN+tjxAu5LWyI4MTdyp2raMrlN4y2qRFBeIQ=; b=FK3F4J6x+I02x+eLxwzyT+cBoPw/BjreW9xnaAWwUTXN5s2tE8KFGYHYdjEgrrUTx2 n6dVw8Oj/Y2k8Ndf0dIsxZ0Cxowmvl1qK439XUekUA+xMH7dRJ+ToGCmsepGZxQJG1uC SX+VYHF0XBYZNWIiYXj2WnfJKzzeEsp5wAidU8nEMFIog/aQllsHz65bbLwklUFU9Oqa xpxyk4rP+Bua2GLHzLZFPSAdKqST/tS+aN/CbXOjSpXn5glGXJ30nSua17PLMLwGAyzO dnMMXKJ/Tf2Ghv5qVVuVyh6xsP8IzDQhm8T2E551ldgp3Zto7mN1jyK1Kzf0g8lYArY/ l/Zw==
Hello,

If I understands it correctly XFS don't have a limit to the size of extended attributes(EA) but Linux impose a limit at 64k.
What I am trying to do is build a backup server that our Apple computers will use together with rsync to backup files to. The problem I face is that Apple HFS+ don't have a limit to EA so it has files with more then 64k of EA in it.

The Linux Kernel has a limit imposed to it in include/linux/limits.h
#define XATTR_SIZE_MAX 65536    /* size of an extended attribute value (64k) */
#define XATTR_LIST_MAX 65536    /* size of extended attribute namelist (64k) */

Changing this values feels unsafe because they will be system wide.

Is the any possibility to combine Linux + XFS to make a backup that works with EA or is this more a question for kernel.org?

Thanks.
<Prev in Thread] Current Thread [Next in Thread>