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
rbd-fuse: librados will filter out -r option from command-line #46839
Conversation
@tchaikov Would you please have a look at this PR? |
@maydaycc Are you actually using
|
Looks like this was missed in #20598, I wonder why -- |
In the process of creating volumes from images, we use rbd-fuse to mount rbd to the cinder volume node, and then use the resize2fs tool to adjust the size of the file system. rbd-nbd is a better choice but our kernel does not support the nbd module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
@maydaycc Please fold the whitespace fixup into the original commit. |
The -r option will be filtered out by librados when exec cmd "rbd-fuse /mountpoint -p pool_name -r rbd_name" other rbds can be seen under the mount point Fixes: https://tracker.ceph.com/issues/56387 Signed-off-by: wanwencong <wanwc@chinatelecom.cn>
Done! |
The only job in the suite that happens to exercise https://pulpito.ceph.com/dis-2022-07-04_09:14:19-rbd-wip-dis-testing-distro-default-smithi/ |
The -r option will be filtered out by librados
when exec cmd "rbd-fuse /mountpoint -p pool_name -r rbd_name"
other rbds can be seen under the mount point
Fixes: https://tracker.ceph.com/issues/56387
Signed-off-by: wanwencong wanwc@chinatelecom.cn
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows