Skip to contentSkip to conversation

xfs: remove the EXPERIMENTAL warning for pNFS

PATCH Applied Christoph Hellwig 2 participants 2 messages May 14, 2025 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xfs: remove the EXPERIMENTAL warning for pNFS

The pNFS layout support has been around for 10 years without major issues, drop the EXPERIMENTAL warning.

---

Changes since v1:
- rebased on top of v2 of xfs: remove some EXPERIMENTAL warnings
- also remove the opstate

 fs/xfs/xfs_message.c | 4 ----
 fs/xfs/xfs_message.h | 1 -
 fs/xfs/xfs_mount.h   | 2 --
 fs/xfs/xfs_pnfs.c    | 2 --
 4 files changed, 9 deletions(-)
fs/xfs/xfs_message.c +0 -4
index 54fc5ada519c..19aba2c3d525 100644
@@ -141,10 +141,6 @@ xfs_warn_experimental(
 		const char		*name;
 		long			opstate;
 	} features[] = {
-		[XFS_EXPERIMENTAL_PNFS] = {
-			.opstate	= XFS_OPSTATE_WARNED_PNFS,
-			.name		= "pNFS",
-		},
 		[XFS_EXPERIMENTAL_SHRINK] = {
 			.opstate	= XFS_OPSTATE_WARNED_SHRINK,
 			.name		= "online shrink",
fs/xfs/xfs_message.h +0 -1
index bce9942f394a..d68e72379f9d 100644
@@ -91,7 +91,6 @@ void xfs_buf_alert_ratelimited(struct xfs_buf *bp, const char *rlmsg,
 			       const char *fmt, ...);
 
 enum xfs_experimental_feat {
-	XFS_EXPERIMENTAL_PNFS,
 	XFS_EXPERIMENTAL_SHRINK,
 	XFS_EXPERIMENTAL_LARP,
 	XFS_EXPERIMENTAL_LBS,
fs/xfs/xfs_mount.h +0 -2
index 466303630ef9..1bf71d7a4906 100644
@@ -543,8 +543,6 @@ __XFS_HAS_FEAT(nouuid, NOUUID)
  */
 #define XFS_OPSTATE_BLOCKGC_ENABLED	6
 
-/* Kernel has logged a warning about pNFS being used on this fs. */
-#define XFS_OPSTATE_WARNED_PNFS		7
 /* Kernel has logged a warning about shrink being used on this fs. */
 #define XFS_OPSTATE_WARNED_SHRINK	9
 /* Kernel has logged a warning about logged xattr updates being used. */
fs/xfs/xfs_pnfs.c +0 -2
index 6f4479deac6d..afe7497012d4 100644
@@ -58,8 +58,6 @@ xfs_fs_get_uuid(
 {
 	struct xfs_mount	*mp = XFS_M(sb);
 
-	xfs_warn_experimental(mp, XFS_EXPERIMENTAL_PNFS);
-
 	if (*len < sizeof(uuid_t))
 		return -EINVAL;
 
Signature · 1 line
2.47.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Christoph Hellwig

The pNFS layout support has been around for 10 years without major issues, drop the EXPERIMENTAL warning.

Applied to for-next, thanks!

[1/1] xfs: remove the EXPERIMENTAL warning for pNFS

      commit: 1c7161ef0164716fdf4618b50747bd3002625e38

Best regards,

Signature · 1 line
Carlos Maiolino <[email protected]>