From: Frank van der Linden <fllinden@amazon.com>
To: <fstests@vger.kernel.org>
Cc: <linux-nfs@vger.kernel.org>, Frank van der Linden <fllinden@amazon.com>
Subject: [PATCH 2/3] common/attr: set MAX_ATTR values correctly for NFS
Date: Thu, 10 Sep 2020 19:43:54 +0000 [thread overview]
Message-ID: <20200910194355.5977-2-fllinden@amazon.com> (raw)
In-Reply-To: <20200910194355.5977-1-fllinden@amazon.com>
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(-)
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
;;
*)
--
2.16.6
next prev parent reply other threads:[~2020-09-10 19:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 19:43 [PATCH 1/3] common/attr: make _require_attrs more fine-grained Frank van der Linden
2020-09-10 19:43 ` Frank van der Linden [this message]
2020-09-10 19:43 ` [PATCH 3/3] fstests: explicitly specify xattr namespace Frank van der Linden
2020-09-13 16:56 ` [PATCH 1/3] common/attr: make _require_attrs more fine-grained Eryu Guan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200910194355.5977-2-fllinden@amazon.com \
--to=fllinden@amazon.com \
--cc=fstests@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox