Re: [PATCH] ubi: fastmap: Correctly handle interrupted erasures in EBA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 01, 2018 at 08:24:35PM +0200, Richard Weinberger wrote:
> Fastmap cannot track the LEB unmap operation, therefore it can
> happen that after an interrupted erasure the mapping still looks
> good from Fastmap's point of view, while reading from the PEB will
> cause an ECC error and confuses the upper layer.
> 
> Instead of teaching users of UBI how to deal with that, we read back
> the VID header and check for errors. If the PEB is empty or shows ECC
> errors we fixup the mapping and schedule the PEB for erasure.
> 
> Fixes: dbb7d2a88d2a ("UBI: Add fastmap core")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Reported-by: martin bayern <Martinbayern@xxxxxxxxxxx>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>
> ---
> Hi Greg,
> 
> This is the backport of 781932375ffc ("ubi: fastmap: Correctly handle interrupted erasures in EBA")
> for 4.4-stable.

Now applied, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux