Commits
Andrey Vagin authored and Konstantin Khorenko committed d5714465b67
target: move alua user helper from group to device We added this helper to tune a device backing store (to set a correct delta for a ploop device). It is executed when a group state is changed. In this case, there is no difference where it is placed. But now we understand, that we need to run this helper before reporting group states to an initiator. It will be used to sync groups with other targets in a cluster. We have to guaranty that only one target reports the Active/Optimize state. And in this case, it looks better if a user helper will be set per device. How to use: echo -n /usr/sbin/vstorage-alua-helper > \ /sys/kernel/config/target/core/iblock_0/iqn.2014-06.com.vstorage\:test-1/alua_user_helper Signed-off-by: Andrei Vagin <avagin@openvz.org>