Re: [dm-devel] [PATCH 3/3] multipathd: Add 'sysfs' prioritizer

2016-12-07 Thread Xose Vazquez Perez
On 11/09/2016 07:49 AM, Hannes Reinecke wrote: > On 11/08/2016 07:52 PM, Xose Vazquez Perez wrote: >> On 07/15/2016 08:48 AM, Hannes Reinecke wrote: >> >>> Recent kernels have an 'access_state' attribute which allows >>> us to read the asymmetric access state directly from sysfs. >> >> Hi Hannes,

Re: [dm-devel] [PATCH 3/3] multipathd: Add 'sysfs' prioritizer

2016-11-08 Thread Hannes Reinecke
On 11/08/2016 07:52 PM, Xose Vazquez Perez wrote: On 07/15/2016 08:48 AM, Hannes Reinecke wrote: Recent kernels have an 'access_state' attribute which allows us to read the asymmetric access state directly from sysfs. Hi Hannes, with this patch it's impossible to select/autodetect ALUA.

Re: [dm-devel] [PATCH 3/3] multipathd: Add 'sysfs' prioritizer

2016-11-08 Thread Xose Vazquez Perez
On 07/15/2016 08:48 AM, Hannes Reinecke wrote: > Recent kernels have an 'access_state' attribute which allows > us to read the asymmetric access state directly from sysfs. Hi Hannes, with this patch it's impossible to select/autodetect ALUA. sysfs always takes precedence over alua.

[dm-devel] [PATCH 3/3] multipathd: Add 'sysfs' prioritizer

2016-07-15 Thread Hannes Reinecke
Recent kernels have an 'access_state' attribute which allows us to read the asymmetric access state directly from sysfs. Signed-off-by: Hannes Reinecke --- libmultipath/discovery.c | 33 + libmultipath/discovery.h | 2 ++