Re: UBI fastmap updates
From: Artem Bityutskiy
Date: Thu Aug 02 2012 - 13:55:09 EST
On Thu, 2012-08-02 at 19:45 +0200, Richard Weinberger wrote:
> This should be very easy task.
Right. But unfortunately, I had to spend a lot of time writing lengthy
e-mails. You could hold your horses for a minute, ask specific questions
and find out what was my concern.
> How much PEB should be reserved? 2 x sizeof(fastmap)?
Is there any reason why it cannot be the _exact_ maximum number? Not
more and not less.
If I understand correctly, fastmap size is a function of total PEBs
count. You should be able to calculate the maximum size precisely.
--
Best Regards,
Artem Bityutskiy
Attachment:
signature.asc
Description: This is a digitally signed message part