[PATCH 7/8] mtd: spear_smi: initialize writebufsize

Stefan Roese sr at denx.de
Fri Feb 3 03:45:49 EST 2012


On Friday 03 February 2012 09:43:13 Artem Bityutskiy wrote:
> From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
> 
> The writebufsize concept was introduce by commit
> "0e4ca7e mtd: add writebufsize field to mtd_info struct" and it represents
> the maximum amount of data the device writes to the media at a time. This
> is an important parameter for UBIFS which is used during recovery and
> which basically defines how big a corruption caused by a power cut can be.
> 
> Set writebufsize to the flash page size because it is the maximum amount of
> data it writes at a time.
> 
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Shiraz Hashim <shiraz.hashim at st.com>
> Cc: spear--sw-devel at lists.codex.cro.st.com

Acked-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan



More information about the linux-mtd mailing list