[lvm-devel] [PATCH]: Mirror: Fix hangs and lock-ups caused by attempting label reads of mirrors

Zdenek Kabelac zkabelac at redhat.com
Tue Oct 22 09:42:11 UTC 2013


Dne 22.10.2013 00:34, Jonathan Brassow napsal(a):
> agk,
>
> The patch below is designed to address bug 1009700:
> https://bugzilla.redhat.com/show_bug.cgi?id=1009700
> It is the simplest way with the most flexibility for users that I could
> think of to handle the problem outside of doing the asynchronous label
> reads.
>


I believe the patch needs to go in different direction.

See the bug  https://bugzilla.redhat.com/show_bug.cgi?id=905028

Lvm2 should be smarter in it's scanning code and
must avoid reading device it know it may block.

There are very similar problems i.e. with thin pools, so
it's not practical to put in various hacks for individual
targets.

The fix must be in the filter to skip known dm devices.

Zdenek




More information about the lvm-devel mailing list