[dm-devel] [PATCH v2] multipathd: fix missing persistent reseravtion for active path

Martin Wilck mwilck at suse.com
Wed Sep 15 11:23:30 UTC 2021


On Mon, 2021-09-13 at 10:43 +0800, lixiaokeng wrote:
> There are two paths(sucu as sda and adb) for one LUN. The two
> paths log in, but before the two uevents have been processed
> (for example there are many uevent), users use multipathd add
> path /dev/sda to cause mpatha and use mpathpersist -o -I to
> register prkey for mpatha. The add map uevent is after add path
> uevent, the the uevent(add sdb) will delay and missing persistent
> reseravtion check.
> 
> Here, we add persistent reseravtion check in update_map() which
> is called ev_add_map().
> 
> Signed-off-by: Lixiaokeng <lixiaokeng at huawei.com>

As dicussed previously:

Reviewed-by: Martin Wilck <mwilck at suse.com>





More information about the dm-devel mailing list