Re: The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-22 Thread Lin Ma
On 2020-07-22 09:44, Michal Privoznik wrote: On 7/20/20 4:36 PM, Lin Ma wrote: On 2020-07-17 07:05, Michal Prívozník wrote: errno=9 is EBADF so maybe this is a dm issue after all? Emm...So far I lean towards to an issue in libvirt code, rather than in dm. You might be right after all. Turn

Re: The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-22 Thread Michal Privoznik
On 7/20/20 4:36 PM, Lin Ma wrote: On 2020-07-17 07:05, Michal Prívozník wrote: errno=9 is EBADF so maybe this is a dm issue after all? Emm...So far I lean towards to an issue in libvirt code, rather than in dm. You might be right after all. Turns out that the mass FD closing we do before s

Re: The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-20 Thread Lin Ma
On 2020-07-17 07:05, Michal Prívozník wrote: On 7/15/20 5:35 AM, Lin Ma wrote: On 2020-07-14 14:38, Michal Privoznik wrote: On 7/14/20 3:41 PM, Lin Ma wrote: Hi all, I have a namespace question about passthrough disk(multipath device). In case of enabling namespace and cgroups in qemu.conf,

Re: The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-17 Thread Michal Prívozník
On 7/15/20 5:35 AM, Lin Ma wrote: On 2020-07-14 14:38, Michal Privoznik wrote: On 7/14/20 3:41 PM, Lin Ma wrote: Hi all, I have a namespace question about passthrough disk(multipath device). In case of enabling namespace and cgroups in qemu.conf, The target(s) of the multipath device won't be

Re: The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-14 Thread Lin Ma
On 2020-07-14 14:38, Michal Privoznik wrote: On 7/14/20 3:41 PM, Lin Ma wrote: Hi all, I have a namespace question about passthrough disk(multipath device). In case of enabling namespace and cgroups in qemu.conf, The target(s) of the multipath device won't be added into qemu-pr-helper's namesp

The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-14 Thread Lin Ma
Hi all, I have a namespace question about passthrough disk(multipath device). In case of enabling namespace and cgroups in qemu.conf, The target(s) of the multipath device won't be added into qemu-pr-helper's namespace under certain situation, It causes the PERSISTENT RESERVE command failure i

Re: The issue about adding multipath device's targets into qemu-pr-helper's namespace

2020-07-14 Thread Michal Privoznik
On 7/14/20 3:41 PM, Lin Ma wrote: Hi all, I have a namespace question about passthrough disk(multipath device). In case of enabling namespace and cgroups in qemu.conf, The target(s) of the multipath device won't be added into qemu-pr-helper's namespace under certain situation, It causes the P