diff options
author | Alexander Mikhalitsyn <[email protected]> | 2023-08-07 15:26:18 +0200 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2023-11-03 23:28:33 +0100 |
commit | 673478b6e59b25079a590eb5ba89d7a3ec9c1c78 (patch) | |
tree | f2f236bd9327849549d415c0842424ea25813a08 /net/unix/sysctl_net_unix.c | |
parent | 5ccd8530dd7ba97531a50ffa11eabe258d65a7af (diff) |
ceph: add enable_unsafe_idmap module parameter
This parameter is used to decide if we allow
to perform IO on idmapped mount in case when MDS lacks
support of CEPHFS_FEATURE_HAS_OWNER_UIDGID feature.
In this case we can't properly handle MDS permission
checks and if UID/GID-based restrictions are enabled
on the MDS side then IO requests which go through an
idmapped mount may fail with -EACCESS/-EPERM.
Fortunately, for most of users it's not a case and
everything should work fine. But we put work "unsafe"
in the module parameter name to warn users about
possible problems with this feature and encourage
update of cephfs MDS.
Suggested-by: Stéphane Graber <[email protected]>
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions