Skip to contentSkip to conversation

erofs: drop experimental warning for FSDAX

PATCH In review Gao Xiang 2 participants 2 messages Mar 25, 2024 EROFS file system

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

PATCH 1/1 erofs: drop experimental warning for FSDAX

As EXT4/XFS filesystems, FSDAX functionality is considered to be stable. Let's drop this warning.

---
 fs/erofs/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/erofs/super.c +0 -1
index 6fbb1fba2d31..fc60a5a7794f 100644
@@ -430,7 +430,6 @@ static bool erofs_fc_set_dax_mode(struct fs_context *fc, unsigned int mode)
 
 	switch (mode) {
 	case EROFS_MOUNT_DAX_ALWAYS:
-		warnfc(fc, "DAX enabled. Warning: EXPERIMENTAL, use at your own risk");
 		set_opt(&ctx->opt, DAX_ALWAYS);
 		clear_opt(&ctx->opt, DAX_NEVER);
 		return true;
Signature · 1 line
2.39.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Gao Xiang

As EXT4/XFS filesystems, FSDAX functionality is considered to be stable. Let's drop this warning.

---
 fs/erofs/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/erofs/super.c +0 -0
index 6fbb1fba2d31..fc60a5a7794f 100644

fs/erofs/super.c static bool erofs_fc_set_dax_mode(struct fs_context *fc, unsigned int mode) · line 435

Quoted 7 lines
fs/erofs/super.c +0 -1
@@ -430,7 +430,6 @@ static bool erofs_fc_set_dax_mode(struct fs_context *fc, unsigned int mode)
 
 	switch (mode) {
 	case EROFS_MOUNT_DAX_ALWAYS:
-		warnfc(fc, "DAX enabled. Warning: EXPERIMENTAL, use at your own risk");
 		set_opt(&ctx->opt, DAX_ALWAYS);
 		clear_opt(&ctx->opt, DAX_NEVER);
 		return true;
Signature · 2 lines
Thanks,
Jingbo