Message ID | 20200910194355.5977-2-fllinden@amazon.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] common/attr: make _require_attrs more fine-grained | expand |
diff --git a/common/attr b/common/attr index c60cb6ed..fb856449 100644 --- a/common/attr +++ b/common/attr @@ -251,7 +251,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 ;; *) @@ -271,7 +271,7 @@ xfs|udf|btrfs) pvfs2) MAX_ATTRVAL_SIZE=8192 ;; -9p|ceph) +9p|ceph|nfs) MAX_ATTRVAL_SIZE=65536 ;; *)
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> --- common/attr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)