Hannes Reinecke wrote: > Recent kernels have an 'access_state' attribute which allows > us to read the asymmetric access state directly from sysfs. > > Signed-off-by: Hannes Reinecke <hare@xxxxxxx> > --- > libmultipath/discovery.c | 33 +++++++++++++++++++++++++++++ > libmultipath/discovery.h | 2 ++ > libmultipath/prio.h | 1 + > libmultipath/prioritizers/Makefile | 3 ++- > libmultipath/prioritizers/sysfs.c | 43 ++++++++++++++++++++++++++++++++++++++ > libmultipath/propsel.c | 6 +++++- > multipath/multipath.conf.5 | 14 ++++++++++++- > 7 files changed, 99 insertions(+), 3 deletions(-) > create mode 100644 libmultipath/prioritizers/sysfs.c How about just adding this to the alua prioritizer? This new feature could then depend on a "sysfs" argument. Sebastian -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel