zhashfs: write first block last
wmb at laptop.org
Sun May 8 12:10:32 EDT 2011
On 5/7/2011 12:15 PM, Daniel Drake wrote:
> On 5 May 2011 22:25, Mitch Bradley<wmb at laptop.org> wrote:
>> It would be necessary to erase the entire device, rather than just the
>> number of blocks specified by the zblocks: line, because that number is not
>> known until very late in the process.
>> Erasing everything is probably not a bad idea.
> Another option could be to erase from the start of the disk to the
> point where the nandblaster image was saved.
I'm unsure what the point would be, in light of Quozl's observation that
bulk-erase has little performance benefit. My original goal was to help
FTL with it garbage collection by letting it put all those blocks on the
free list. It is now unclear that that helps.
More information about the Devel