On Tue, 2012-05-15 at 13:56 +0200, Joel Reardon wrote: > Ah yes, if wl_wrk is freed in schedule_erase, theres no way to pass it > back that way. > > The reason is that, if erasing a block of keys fails, then those keys may > remain on the flash device for eternity. While a rare occurance, it may be > nice to have ubifs perform GC on all main LEBs storing the data nodes that > can no longer be deleted through key erasure / reencrypt the valid data > nodes. Erasure is asynchronous and I do not see an good way to implement your idea. Do you have a good plan? -- Best Regards, Artem Bityutskiy