From da3cdb3b91cac139c9e9ad86f5d1aeedb5c91a67 Mon Sep 17 00:00:00 2001 From: Frank van der Linden Date: Thu, 10 Sep 2020 19:43:54 +0000 Subject: [PATCH] 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 Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- common/attr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/attr b/common/attr index 894fe07a..669909d6 100644 --- a/common/attr +++ b/common/attr @@ -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 ;; *) -- 2.30.2