-
Notifications
You must be signed in to change notification settings - Fork 59
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
No Discard/Trim/Unmap ? #230
Comments
The upstream Linux kernel does not contain SUSE's For [1] https://github.com/open-iscsi/tcmu-runner/blob/master/rbd.c#L474 |
Thank you for this, I'll need to turn on debugging then as the device class for the pool is ssd. |
We also set the UNMAP bit in the VPD inquiry along with all the alignment and max length hints. If Windows is keying off HDD vs SSD, though, that's a different issue. If you have a Linux initiator connected, you can run |
We got the iSCSI gateway working with Ceph Octopus but a Windows client sees the drive as a standard HDD so it won't trim.
The SUSE ceph-iscsi documentation has a myriad of options available, similar to how we're used to exporting functionality when running a small Debian VM which exports a RBD block device. I presume these are perhaps only available when the backstore is krbd instead of user:rbd (tcm-runner)?
https://documentation.suse.com/ses/6/html/ses-all/cha-ceph-as-iscsi.html
I presume this functionality is exclusive to SUSE with their target_core_rbd module and that I may have initially miss interpreted the following discussion where I understood kernel 4.16+ to include the necessary plumbing:
https://www.spinics.net/lists/ceph-users/msg53920.html
The text was updated successfully, but these errors were encountered: