[dm-devel] [patch 2/3] Add MP_RETRY flag for hw handlers to tell dm-mpath to retry pg_init.

Dave Wysochanski dwysocha at redhat.com
Thu Jul 26 18:21:37 UTC 2007


On Thu, 2007-07-26 at 10:20 -0500, Mike Christie wrote:
> dwysocha at redhat.com wrote:
> 
> 
> looks ok
> 
> Acked-by: Mike Christie <michaelc at cs.wisc.edu>
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

There was actually a locking bug in the retry_pg() function (need to
drop m->lock before calling fail_path, since fail_path grabs m->lock).
I found this after realizing my original tests did not exercise the
retry path very well and did some more thorough tests.  Attached patch
fixes it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-mpath-add-retry-pg-init.patch
Type: text/x-patch
Size: 5582 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070726/382c2ba0/attachment.bin>


More information about the dm-devel mailing list