mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/attr: set MAX_ATTR values correctly for NFS
Now that NFS can handle user xattrs, set the MAX_ATTR and MAX_ATTRVAL_SIZE to reflect the applicable limits for that filesystem. Signed-off-by: Frank van der Linden <fllinden@amazon.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
94dcbd03b4
commit
da3cdb3b91
+2
-2
@@ -250,7 +250,7 @@ _getfattr()
|
||||
|
||||
# set maximum total attr space based on fs type
|
||||
case "$FSTYP" in
|
||||
xfs|udf|pvfs2|9p|ceph)
|
||||
xfs|udf|pvfs2|9p|ceph|nfs)
|
||||
MAX_ATTRS=1000
|
||||
;;
|
||||
*)
|
||||
@@ -270,7 +270,7 @@ xfs|udf|btrfs)
|
||||
pvfs2)
|
||||
MAX_ATTRVAL_SIZE=8192
|
||||
;;
|
||||
9p|ceph)
|
||||
9p|ceph|nfs)
|
||||
MAX_ATTRVAL_SIZE=65536
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user