[dm-devel] [PATCH Debian] kpartx: increase retries was Re: Next release plans?

Xose Vazquez Perez xose.vazquez at gmail.com
Tue May 10 16:39:54 UTC 2016


On 04/19/2016 01:47 PM, Ritesh Raj Sarraf wrote:

> In Debian, we don't have much delta. The only minor (1 liner) patch I see
> carrying is:
> 
> rrs at learner:~/.rrs-home/Community/Packaging/multipath-tools (master)$ cat
> debian/patches/increase-kpartx-retries.patch 
> https://www.redhat.com/archives/dm-devel/2015-May/msg00087.html
> 
> Many users have reported that increasing the retries solves the problem
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785251
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734794
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608737
> Index: multipath-tools/kpartx/lopart.c
> ===================================================================
> --- multipath-tools.orig/kpartx/lopart.c	2015-10-16 21:33:27.235438304
> +0530
> +++ multipath-tools/kpartx/lopart.c	2015-10-16 21:33:27.231438251 +0530
> @@ -296,7 +296,7 @@
>  extern int 
>  del_loop (const char *device)
>  {
> -	int retries = 3;
> +	int retries = 5;
>  	int fd;
>  
>  	if ((fd = open (device, O_RDONLY)) < 0) {
> 

This patch also was lost.




More information about the dm-devel mailing list