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>
# 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
;;
*)
pvfs2)
MAX_ATTRVAL_SIZE=8192
;;
-9p|ceph)
+9p|ceph|nfs)
MAX_ATTRVAL_SIZE=65536
;;
*)