Skip to contentSkip to conversation

nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes

PATCH In review Olga Kornievskaia 3 participants 3 messages Oct 9, 2025 – Oct 13, 2025

Subsystems (2)
lore
Share & tools
lore

Olga Kornievskaia

author reviewer
#0 lore raw

PATCH v3 1/1 nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes

RFC 7862 Section 4.1.2 says that if the server supports CLONE it MUST support clone_blksize attribute.

Fixes d6ca7d2643ee ("NFSD: Implement FATTR4_CLONE_BLKSIZE attribute")
---
 fs/nfsd/nfsd.h | 1 +
 1 file changed, 1 insertion(+)
fs/nfsd/nfsd.h +1 -0
index ea87b42894dd..c48fbc6679eb 100644
@@ -455,6 +455,7 @@ enum {
 #define NFSD4_2_SUPPORTED_ATTRS_WORD2 \
 	(NFSD4_1_SUPPORTED_ATTRS_WORD2 | \
 	FATTR4_WORD2_MODE_UMASK | \
+	FATTR4_WORD2_CLONE_BLKSIZE | \
 	NFSD4_2_SECURITY_ATTRS | \
 	FATTR4_WORD2_XATTR_SUPPORT | \
 	FATTR4_WORD2_TIME_DELEG_ACCESS | \
Signature · 1 line
2.47.3
maintainer Reviewed-by on v3 1/1
#1 lore raw
Quoted 14 lines · Olga Kornievskaia

RFC 7862 Section 4.1.2 says that if the server supports CLONE it MUST support clone_blksize attribute.

Fixes d6ca7d2643ee ("NFSD: Implement FATTR4_CLONE_BLKSIZE attribute")
---
 fs/nfsd/nfsd.h | 1 +
 1 file changed, 1 insertion(+)
fs/nfsd/nfsd.h +0 -0
index ea87b42894dd..c48fbc6679eb 100644

fs/nfsd/nfsd.h enum { · line 461

Quoted 7 lines
fs/nfsd/nfsd.h +1 -0
@@ -455,6 +455,7 @@ enum {
 #define NFSD4_2_SUPPORTED_ATTRS_WORD2 \
 	(NFSD4_1_SUPPORTED_ATTRS_WORD2 | \
 	FATTR4_WORD2_MODE_UMASK | \
+	FATTR4_WORD2_CLONE_BLKSIZE | \
 	NFSD4_2_SECURITY_ATTRS | \
 	FATTR4_WORD2_XATTR_SUPPORT | \
 	FATTR4_WORD2_TIME_DELEG_ACCESS | \
maintainer
#2 lore raw
In reply to Olga Kornievskaia

From: Chuck Lever <[email protected]>

Quoted 4 lines · Olga Kornievskaia

RFC 7862 Section 4.1.2 says that if the server supports CLONE it MUST support clone_blksize attribute.

Applied to nfsd-testing, thanks!

[1/1] nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes

      commit: 6e7b714679d28da7bd91b3f4656bf0865d6006b6

--
Chuck Lever <[email protected]>