[dm-devel] Re: mirroring: [patch 6 of 6] device failure tolerance

Alasdair G Kergon agk at redhat.com
Fri Jul 1 19:16:12 UTC 2005


On Thu, Jun 30, 2005 at 03:04:21AM -0500, Jon Brassow wrote:
> This patch changes how suspend works in dm.c (dm_suspend).  As a 
> result, it breaks multipath.  It is necessary for cluster mirroring to 
> ensure that a suspend happens before other nodes have a chance at 
> getting an inconsistent read.
 
Proposing something like:
  ftp://sources.redhat.com/pub/dm/patches/2.6-unstable/editing/patches/00016.patch
(not compile-tested)

Can you find a way to make it cope without an 'undo presuspend' function to
call on error?  It might be OK to add a call to 'resume' on error if you can 
make that work correctly when not preceded by postsuspend.

Alasdair




More information about the dm-devel mailing list