[PATCH] Add quick erase format option
dedekind1 at gmail.com
Sun Aug 29 08:20:24 EDT 2010
On Sun, 2010-08-29 at 14:30 +0300, Artem Bityutskiy wrote:
> The reason why this flushing is needed is that we want to make sure
> there are no PEBs which belonged to a volume with the same ID. Indeed,
> imaging you have volume 5 with many used LEBs. Then you remove this
> volume, so that all its LEBs are scheduled for erasure. Then you
> a new volume with the same ID = 5. If we do not flush the queue, we
> end up with rubbish from the older volume 5 in the new one.
Err, it is important to say that we'll end up with the rubbish if we
have an unclean reboot after the new volume with ID 5 is created, but
before all PEBs belonging to the old volume with ID 5 are erased.
Hopefully, my explanation is not too messy :-)
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd