Skip to contentSkip to conversation

nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes

PATCH Superseded Olga Kornievskaia 3 participants 4 messages Oct 9, 2025

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Olga Kornievskaia

author reviewer
#0 lore raw

PATCH v2 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..9ae5fd1d081a 100644
@@ -456,6 +456,7 @@ enum {
 	(NFSD4_1_SUPPORTED_ATTRS_WORD2 | \
 	FATTR4_WORD2_MODE_UMASK | \
 	NFSD4_2_SECURITY_ATTRS | \
+	FATTR4_WORD2_CLONE_BLKSIZE | \
 	FATTR4_WORD2_XATTR_SUPPORT | \
 	FATTR4_WORD2_TIME_DELEG_ACCESS | \
 	FATTR4_WORD2_TIME_DELEG_MODIFY | \
Signature · 1 line
2.47.3
maintainer
#1 lore raw

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: fcc43f116744ac6d34f2bd77c1be34e8171d3d3c

--
Chuck Lever <[email protected]>

#2 lore raw
Quoted 10 lines · Chuck Lever

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!

I just realized that NFSD4_2_SECURITY_ATTRS value is larger so FATTR4_WORD2_CLONE_BLKSIZE should be before that. Do you want me to do v3?

Quoted 7 lines

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

      commit: fcc43f116744ac6d34f2bd77c1be34e8171d3d3c

--
Chuck Lever <[email protected]>

maintainer
#3 lore raw
Quoted 10 lines · Olga Kornievskaia
Quoted 9 lines · Chuck Lever

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.

Quoted 5 lines
Quoted 1 line

Applied to nfsd-testing, thanks!

I just realized that NFSD4_2_SECURITY_ATTRS value is larger so FATTR4_WORD2_CLONE_BLKSIZE should be before that. Do you want me to do v3?

Yes, please send a v3.

Quoted 6 lines
Quoted 6 lines

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

      commit: fcc43f116744ac6d34f2bd77c1be34e8171d3d3c

--
Chuck Lever <[email protected]>

Signature · 1 line
Chuck Lever