Re: [dm-devel] [PATCH 2/2] dmcache: Implement a flush message

2013-05-13 Thread Darrick J. Wong
On Mon, May 13, 2013 at 02:04:08PM +0200, Peter Rajnoha wrote: > On 11.05.2013 17:25, Mike Snitzer wrote:> On Fri, May 10 2013 at 1:51pm > -0400, > > Darrick J. Wong wrote: > > > ... > >> afaict, there isn't anything in the initscripts that tears down dm > devices > >> prior to invoking reboot(),

Re: [dm-devel] [PATCH 2/2] dmcache: Implement a flush message

2013-05-10 Thread Darrick J. Wong
On Fri, May 10, 2013 at 11:22:24AM +0100, Joe Thornber wrote: > On Thu, May 09, 2013 at 01:47:51PM -0700, Darrick J. Wong wrote: > > Create a new 'flush' message that causes the dmcache to write all of its > > metadata out to disk. This enables us to ensure that the disk reflects > > whatever's in

Re: [dm-devel] [PATCH 2/2] dmcache: Implement a flush message

2013-05-10 Thread Joe Thornber
On Thu, May 09, 2013 at 01:47:51PM -0700, Darrick J. Wong wrote: > Create a new 'flush' message that causes the dmcache to write all of its > metadata out to disk. This enables us to ensure that the disk reflects > whatever's in memory without having to tear down the cache device. This helps > me