Re: UBI fastmap updates
From: Shmulik Ladkani
Date: Sun Aug 05 2012 - 04:24:34 EST
Hi,
On Thu, 2 Aug 2012 19:45:38 +0200 Richard Weinberger <richard@xxxxxx> wrote:
> Okay, then let's explicitly reserve a few PEBs for fastmap.
> This should be very easy task.
Need to consider what's expected when migrating from a former non-FM
UBI system to an FM enabled system, in the case where all PEBs where
consumed (reserved) in the former system.
> How much PEB should be reserved? 2 x sizeof(fastmap)?
Since FM does not use EBA's atomic LEB change when writing the new
fastmap, but instead implements its own FM "leb change" internally -
then reserving 2x is needed if we'd like to avoid reusing the same
fastmap PEB.
Regards,
Shmulik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/