MTD concat layer

Robert Kaiser rob at sysgo.de
Sun Feb 17 05:36:30 EST 2002


On Sat, 16 Feb 2002, Brian J. Fox wrote:

> 
>    From: Robert Kaiser <rob at sysgo.de>
>    Date: Sat, 16 Feb 2002 12:03:27 +0100 (MET)
> 
>    On Sat, 16 Feb 2002, David Woodhouse wrote:
> 
>    > 
>    > rob at sysgo.de said:
>    > > OK, just to be clear about this: If my erase function is asked to
>    > > erase -say-  1.5 blocks, what should it do: 
>    > 
>    > -EINVAL.
> 
>    OK, but is the function allowed to erase blocks up to the point
>    where it hits the partial block request ? That would make it simpler,
>    especially in the presence of variable block sizes.
> 
> *No*, you should *not* erase some blocks and return an error.
> 

Hmm, would you care to elaborate why ?

Rob

----------------------------------------------------------------
Robert Kaiser                          email: rkaiser at sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14
D-55270 Klein-Winternheim / Germany    fax:   (49) 6136 9948-10





More information about the linux-mtd mailing list