[dm-devel] [PATCH 0/1] dm snapshot: Fix bug in COW throttling mechanism causing deadlocks

Mikulas Patocka mpatocka at redhat.com
Wed Oct 2 10:10:28 UTC 2019



On Tue, 1 Oct 2019, Nikos Tsironis wrote:

> Hello,
> 
> This patch fixes the deadlock issue reported in this thread:
> https://www.redhat.com/archives/dm-devel/2019-September/msg00168.html.
> 
> Although I have been really careful preparing this patch, in order to
> avoid any further issues, any extra review would be greatly appreciated.
> 
> Thanks,
> Nikos
> 
> Nikos Tsironis (1):
>   dm snapshot: Fix bug in COW throttling mechanism causing deadlocks
> 
>  drivers/md/dm-snap.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++-----
>  1 file changed, 90 insertions(+), 9 deletions(-)

Hi

I think a better solution would be to drop all locks while waiting for 
some kcopyd job. I'll send patches for that.

Mikulas




More information about the dm-devel mailing list