[SRU][M][PATCH 1/2] UBUNTU: SAUCE: ceph: enable unsafe idmapped mounts by default
Andrea Righi
andrea.righi at canonical.com
Thu Oct 5 09:49:12 UTC 2023
BugLink: https://bugs.launchpad.net/bugs/2038522
In preparation of deprecating shiftfs make idmapped mounts in ceph
filesystem enabled by default.
Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
---
fs/ceph/super.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 5ec102f6b1ac..4cb45e52dd6d 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -1681,7 +1681,8 @@ static const struct kernel_param_ops param_ops_mount_syntax = {
module_param_cb(mount_syntax_v1, ¶m_ops_mount_syntax, &mount_support, 0444);
module_param_cb(mount_syntax_v2, ¶m_ops_mount_syntax, &mount_support, 0444);
-bool enable_unsafe_idmap = false;
+/* UBUNTU: SAUCE: enable unsafe idmap by default (LP: #2038522) */
+bool enable_unsafe_idmap = true;
module_param(enable_unsafe_idmap, bool, 0644);
MODULE_PARM_DESC(enable_unsafe_idmap,
"Allow to use idmapped mounts with MDS without CEPHFS_FEATURE_HAS_OWNER_UIDGID");
--
2.40.1
More information about the kernel-team
mailing list