-
Notifications
You must be signed in to change notification settings - Fork 537
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: Enable support for reflink on XFS #1256
Comments
Thanks for opening this one. Let's track it for the next release. |
Closing this issue as its already fixed. |
@humblec this is not fixed, this is a feature request to enable reflink, reopening it for the se reason |
@nixpanic can this be done in 3.1.0? or do we need to move it out to the next release? |
@nixpanic please adjust the milestone accordingly. |
Moving this from 3.1.0 considering the release timeline. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
@nixpanic should we keep it alive or close it now and reopen if required? |
I don't think we care much about reflink on RBD volumes. There have been no user requests about it, so closing it should be fine. We can always revisit if someone needs reflink on RBD volumes. |
Describe the feature you'd like to have
XFS supports reflinking that makes it possible to do copy-on-write with the
copy_file_range()
syscall. Not all Linux kernels support this feature, and when enabled on an RBD image, kernels without support will not be able to mount the filesystem.Being conservative, and preventing breakage of users that migrate from Ceph Nautilus to Ceph Octopus based container images, reflink for XFS has been disabled by default (#966).
Users may want to enable reflink support on Kubernetes clusters that have current Linux kernels. The following proposed option in a StorageClass would make this possible:
Values for the new
reflink
option:mkfs.xfs
, and pass-m reflink=0
if supported (default)-m reflink=1
, will fail to mount on old Linux kernels-m reflink=
and make this default in some next Ceph-CSI versionAdditional context
See #966 for related problems.
The text was updated successfully, but these errors were encountered: