Linux Storage and Filesystem Workshop, part 2
Linux Storage and Filesystem Workshop, part 2
Posted Apr 8, 2009 20:04 UTC (Wed) by jzbiciak (guest, #5246)Parent article: Linux Storage and Filesystem Workshop, day 2
Aggressive use of TRIM when committing entries out of the journal would make it easier to reap blocks within this faster level of hierarchy, and would make the drive less sensitive to the size of the journal. That is, the journal could be much larger than the NVRAM size, but you'd still get the benefit if the *active* part of the journal fit in the NVRAM.
Having such a buffer should also make it much easier to wear-level the drive, pushing writes out of the NVRAM LRU only as needed, rotating among all the pieces of flash. The NVRAM would also allow the SSD to buffer requests (and mark writes as complete!) while it's in the middle of erasing sectors in the flash.
Sure, it'd be expensive, but I imagine it'd fly like a bat outta hell.