[lvm-devel] [PATCH] Fix segfault when destroying in-use filters in pvs -a.

Takahiro Yasui tyasui at redhat.com
Thu Mar 11 19:57:04 UTC 2010


On 03/10/10 16:43, Milan Broz wrote:
> Because pvs -a iterate throught the whole device cache
> we should not refresh filters inside iteration.
> 
> Fix it by introducing simple reference counter and test
> it in refresh_filters() call.
> 
> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=571963

I've tested this patch. By a pvs command with this patch, no segfault
occurred on the same test cases which caused segfault.

Tested-by: Takahiro Yasui <tyasui at redhat.com>

Thanks,
Taka




More information about the lvm-devel mailing list