CP-7199: Enable detect_prio setting again

Now with package from CentOS 6.5 ALUA works correctly with this setting.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Reviewed-by: Robert Breker <robert.breker@citrix.com>
Acked-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

GitHub: closes #76 on xapi-project/sm
CAR-1368: Move utility function refreshDev from B_util to scsiutil

So it can be used throughout SM.

Signed-off-by: Robert Breker <robert.breker@citrix.com>
CAR-1368: Enable online expansion of LVHDxSRs

Expand the size of LVHDxSRs by growing into additional available space, if
extra space exists on the backing device during sr-attach of the master or
sr-scan.

This commit superseeds the limited undocumented functionality to expand LVHDxSRs
which we had before. The master used to do the resize after a reboot during
sr-attach. Pool members needed to be rebooted after the master.

Signed-off-by: Robert Breker <robert.breker@citrix.com>