Actions
Bug #44091
closedmount.ceph: some options will be truncated and couldn't see any error in dmesg
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Crash signature (v1):
Crash signature (v2):
Description
I was trying to add some new options to the kclient and testing it with "remount", but I couldn't see them was passed to the kernelspace ever, even there is no any errors about that:
For example:
$ mount.ceph :/ /mnt/cephfs -o remount,remount_timeout=10
or
$ mount.ceph :/ /mnt/cephfs -o remount,romount_timeout=10
Ususally if kcient doesn't support the remount_timeout or romount_timeout, we should see some errors in the dmesg logs, but the result is we couldn't see nothing.
Updated by Xiubo Li about 4 years ago
The fixing PR:
https://github.com/ceph/ceph/pull/33197
It dues to the mount.ceph was trying to parse the mount options by using the strncmp, such as for the "remount_timeout=10" it will parsed to "remount", and the "romount_timeout=10" will be parsed to "ro".
Updated by Xiubo Li about 4 years ago
- Status changed from In Progress to Fix Under Review
Updated by Xiubo Li about 4 years ago
- Status changed from Fix Under Review to Resolved
Actions