Repository navigation
tools/bluestore: Add command 'trim' to ceph-bluestore-tool - #57369
Conversation
|
jenkins test api |
|
How confident are you that it's safe to attempt discard operations on all SSDs that users might have? At the very least there should be a warning and a --yes-i-really-really-mean it factor. |
026edf4 to
3acafa2
Compare
I don't have full confidence, your suggestion is correct. What do you think? @ifed01 |
Sounds good. |
|
I have SSDs in my fleet today that brick when a filesystem is mounted with the |
f152f5a to
4a75f5e
Compare
4a75f5e to
fd84915
Compare
fd84915 to
85ac05a
Compare
|
jenkins test make check |
85ac05a to
82412fd
Compare
|
jenkins test api |
5e3b5f7 to
1247b3f
Compare
Add command 'trim' to ceph-bluestore-tool. Co-authored-by: Igor Fedotov <[email protected]> Signed-off-by: Yite Gu <[email protected]>
1247b3f to
0441dfc
Compare
|
I implemented this PR in my lab to do offline trim.. Interesting observations. If the OSD is heavily fragmented, the trim command takes a long while to complete (two to three hours). If the OSD has low to no fragmentation, the trim command completes in minutes. This is on an all NVMe cluster by the way. |
More fragments will require more time to iterate the AVL allocator nodes. |
|
When will I be able to try this feature in the new image? My 13 SSDs are waiting for it. |
It should be release in the squid version. |
Add command 'trim' to ceph-bluestore-tool.
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e