Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-27 Thread Gioh Kim
Hi Martin, On Thu, Apr 23, 2020 at 3:58 PM Martin Wilck wrote: > > On Thu, 2020-04-23 at 13:50 +0200, Gioh Kim wrote: > > Hi Martin, > > > > On Wed, Apr 22, 2020 at 5:40 PM Martin Wilck wrote: > > > On Wed, 2020-04-22 at 16:00 +0200, Gioh Kim wrote: > > > > One question. > > > > Is it possible f

Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-24 Thread Martin Wilck
On Fri, 2020-04-24 at 15:18 +0200, Gioh Kim wrote: > > I would like to inform you of what I found out. > 1. 'multipathd add path sdx' is executed > 2. Adding thd sdx also creates a map. > 3. The multipathd daemon waits for the change uevent from kernel. > 4. Another sd device sdy is added with 'mu

Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-24 Thread Gioh Kim
Hi Martin, On Wed, Apr 22, 2020 at 12:05 PM Martin Wilck wrote: > > Hello Gioh, > > On Wed, 2020-04-22 at 10:40 +0200, Gioh Kim wrote: > > Hi, > > > > I would like to report a bug. > > I am using network storage via SRP/SRPT over Infiniband. > > When a new sd device is created by SRP, I execute '

Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-24 Thread Gioh Kim
Hi Martin, On Wed, Apr 22, 2020 at 5:40 PM Martin Wilck wrote: > > On Wed, 2020-04-22 at 16:00 +0200, Gioh Kim wrote: > > > > One question. > > Is it possible for multipathd to generate an event for removing a > > map? > > I am looking into the source code, ev_add_path and some functions > > rela

Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-23 Thread Martin Wilck
On Thu, 2020-04-23 at 13:50 +0200, Gioh Kim wrote: > Hi Martin, > > On Wed, Apr 22, 2020 at 5:40 PM Martin Wilck wrote: > > On Wed, 2020-04-22 at 16:00 +0200, Gioh Kim wrote: > > > One question. > > > Is it possible for multipathd to generate an event for removing a > > > map? > > > I am looking

Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-22 Thread Martin Wilck
On Wed, 2020-04-22 at 16:00 +0200, Gioh Kim wrote: > > One question. > Is it possible for multipathd to generate an event for removing a > map? > I am looking into the source code, ev_add_path and some functions > related to add a path, > but it looks like it does not generate any event. I guess

[dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-22 Thread Gioh Kim
Hi, I would like to report a bug. I am using network storage via SRP/SRPT over Infiniband. When a new sd device is created by SRP, I execute 'multipathd add path sdX' command and then a new map device is created automatically. I used to use the kernel 4.14 version and had no problem. But after up

Re: [dm-devel] 'multipath add path' returns ok but the path is missing in the topology

2020-04-22 Thread Martin Wilck
Hello Gioh, On Wed, 2020-04-22 at 10:40 +0200, Gioh Kim wrote: > Hi, > > I would like to report a bug. > I am using network storage via SRP/SRPT over Infiniband. > When a new sd device is created by SRP, I execute 'multipathd add > path > sdX' command and then a new map device is created automati