Re: [dm-devel] dm bufio: fix deadlock issue with loop device

2019-07-08 Thread Junxiao Bi
On 7/8/19 7:14 AM, Mike Snitzer wrote: On Fri, Jul 05 2019 at 4:24pm -0400, Junxiao Bi wrote: Hi Mike, Do i make sense on this? No, you haven't made your chase for this change. Sorry. Please refine the patch header to _not_ get into context you have from a vendor kernel. I know you say

Re: [dm-devel] [PATCH 1/1] kpartx: Use __kernel_daddr_t for solaris_x86_slice.s_start

2019-07-08 Thread Christoph Hellwig
> -//typedef int daddr_t; /* or long - check */ > - > struct solaris_x86_slice { > unsigned short s_tag; /* ID tag of partition */ > unsigned short s_flag; /* permission flags */ > - longs_start;/* start sector no of partition

Re: [dm-devel] dm bufio: fix deadlock issue with loop device

2019-07-08 Thread Mike Snitzer
On Mon, Jul 08 2019 at 7:54pm -0400, Junxiao Bi wrote: > On 7/8/19 7:14 AM, Mike Snitzer wrote: > > >On Fri, Jul 05 2019 at 4:24pm -0400, > >Junxiao Bi wrote: > > > >>Hi Mike, > >> > >>Do i make sense on this? > >No, you haven't made your chase for this change. Sorry. > > > >Please refine

[dm-devel] [PATCH 1/1] kpartx: Use __kernel_daddr_t for solaris_x86_slice.s_start

2019-07-08 Thread Petr Vorel
It was meant to be used daddr_t (which is mostly int, only sparc and mips have it defined as int), but instead used long. But musl libc does not define daddr_t as it's deprecated, therefore use __kernel_daddr_t from . Signed-off-by: Petr Vorel --- kpartx/solaris.c | 6 ++ 1 file changed, 2

Re: [dm-devel] [PATCH] kpartx: recognize DASD on loop devices again

2019-07-08 Thread Christophe Varoqui
Thanks for the review. Martin, can you post a rebased version of this patch ? Thanks, Christophe On Mon, Jul 8, 2019 at 4:27 PM Benjamin Marzinski wrote: > On Fri, Jun 28, 2019 at 07:29:41PM +, Martin Wilck wrote: > > From: Martin Wilck > > > > Since 4d57b868, DASD partition tables are

Re: [dm-devel] [PATCH] kpartx: recognize DASD on loop devices again

2019-07-08 Thread Benjamin Marzinski
On Fri, Jun 28, 2019 at 07:29:41PM +, Martin Wilck wrote: > From: Martin Wilck > > Since 4d57b868, DASD partition tables are only recognized on > DASD hardware. This turns out to break certain software that works > e.g. with DASD partition tables on loop devices. The problem that > 4d57b868

Re: [dm-devel] dm bufio: fix deadlock issue with loop device

2019-07-08 Thread Mike Snitzer
On Fri, Jul 05 2019 at 4:24pm -0400, Junxiao Bi wrote: > Hi Mike, > > Do i make sense on this? No, you haven't made your chase for this change. Sorry. Please refine the patch header to _not_ get into context you have from a vendor kernel. I know you say this is hard to reproduce, etc. But