Re: [v2 PATCH 1/1] mtd: mtd_blkdevs: handle REQ_FLUSH request and do explicit flush of writeback buffer

2014-04-15 Thread Brian Norris
On Sat, Mar 08, 2014 at 09:59:14PM +0900, Roman Pen wrote: > From: Roman Peniaev > > 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 >

[v2 PATCH 1/1] mtd: mtd_blkdevs: handle REQ_FLUSH request and do explicit flush of writeback buffer

2014-03-08 Thread Roman Pen
From: Roman Peniaev 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 ### P

Re: [PATCH 1/1] mtd: mtd_blkdevs: handle REQ_FLUSH request and do explicit flush of writeback buffer

2014-03-08 Thread Roman Peniaev
On Fri, Mar 7, 2014 at 3:44 PM, Brian Norris wrote: > On Thu, Jan 02, 2014 at 01:21:21AM +0900, Roman Pen wrote: >> From: Roman Peniaev >> >> mtd_blkdevs is device with volatile cache (writeback buffer), so it should >> support >> REQ_FLUSH to do explicit flush. >> >> Without this patch 'sync' d

Re: [PATCH 1/1] mtd: mtd_blkdevs: handle REQ_FLUSH request and do explicit flush of writeback buffer

2014-03-06 Thread Brian Norris
On Thu, Jan 02, 2014 at 01:21:21AM +0900, Roman Pen wrote: > From: Roman Peniaev > > 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 >

[PATCH 1/1] mtd: mtd_blkdevs: handle REQ_FLUSH request and do explicit flush of writeback buffer

2014-01-01 Thread Roman Pen
From: Roman Peniaev 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 ### P