Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mds: Set mds_snap_max_uid to 4294967294 #11016

Merged
merged 1 commit into from Sep 13, 2016
Merged

mds: Set mds_snap_max_uid to 4294967294 #11016

merged 1 commit into from Sep 13, 2016

Conversation

wido
Copy link
Member

@wido wido commented Sep 8, 2016

Since kernel version 2.6 the Linux kernel supports 32-bit integers
and thus the limit is no longer 65536.

By setting this to a higher default value we make sure that all users
will be allowed to create snapshots in the future by default.

Signed-off-by: Wido den Hollander wido@42on.com

@wido
Copy link
Member Author

wido commented Sep 8, 2016

@jcsp ping! :)

We might want to move this setting to a 'ceph fs set snap_min_uid X' / 'ceph fs set snap_min_max Y' setting as well in the future?

@wido wido added the fs label Sep 8, 2016
Since kernel version 2.6 the Linux kernel supports 32-bit integers
and thus the limit is no longer 65536.

By setting this to a higher default value we make sure that all users
will be allowed to create snapshots in the future by default.

Signed-off-by: Wido den Hollander <wido@42on.com>
@jcsp
Copy link
Contributor

jcsp commented Sep 8, 2016

Change looks reasonable, added to list for testing.

I agree that moving this setting into FSMap would make sense, because it's a per-filesystem thing more than a per-daemon thing.

@jcsp jcsp added cephfs Ceph File System and removed fs labels Sep 8, 2016
@wido
Copy link
Member Author

wido commented Sep 9, 2016

@jcsp Yes, I think moving it seems logical to me as well. When this config setting was introduced a long time ago this was the only way.

Let's up the max UID limit here and then move it to the FSMap.

@jcsp jcsp merged commit 6a3e5c4 into ceph:master Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System
Projects
None yet
2 participants