On Sat, Mar 08, 2014 at 09:59:14PM +0900, Roman Pen wrote: > From: Roman Peniaev <[email protected]> > > mtd_blkdevs is device with volatile cache (writeback buffer), so it should > support > REQ_FLUSH to do explicit flush. > > Without this patch 'sync' does not guarantee that writeback buffer will be > flushed > on disk in case of power off, e.g.: > > $ cp some_file /mnt > $ sync > > ### POWER OFF > > In case of this sequence writeback buffer will not be flushed on disk. > > This patch fixes this behaviour and explicitly reports to block layer that > flush > requests are being supported. > > Signed-off-by: Roman Peniaev <[email protected]> > CC: David Woodhouse <[email protected]> > CC: Brian Norris <[email protected]> > CC: [email protected] > CC: [email protected]
Pushed to l2-mtd.git. Thanks! Brian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

