3 ms·
Curious, I didn't see mention of this, but perhaps someone here knows, is there TRIM support or planned support for bcachefs?
by X86BSD 10y ago
Curious, I didn't see mention of this, but perhaps someone here knows, is there TRIM support or planned support for bcachefs?
- aseipp 10y agobcache originally supported discard/TRIM commands (toggled by mount options), but taking a quick look it might have been removed in bcachefs during the progress of development. I imagine ultimately TRIM will be supported, though (I don't see a reason why it wouldn't be, and considering Kent is focused on hammering out the design I imagine it'll inevitably fit in well).
- loeg 10y agoTRIM isn't super important given bcache's write pattern (sequential writes to large aligned blocks). It doesn't do random overwrite in place of small blocks.