[lvm-devel] [PATCH] Retry dm device removal if busy

Joe Thornber thornber at redhat.com
Tue Sep 13 15:01:55 UTC 2011


On Tue, Sep 13, 2011 at 04:55:10PM +0200, Milan Broz wrote:
> Before anyone start to complain:
> 
> we spent incredible amount of time with fixing the unfixable,
> 
> I really prefer make it to work despite it is not 100% correct.
> It is ugly but it will allow us to fix another things and not
> waste time here for now.
> 
> This approach is already used in cryptsetup, mdadm and perhaps
> other similar packages.

I've resorted to doing exactly this in the thin test suite.

- Joe




More information about the lvm-devel mailing list