k3s/pkg/volume/util
tobad357 1811ded396 This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device
If it does belong to the device then we make sure we mount the mpio device instead of
the raw device.

Heuristics
Login into /dev/disk/by-path/iqn-example.com.2999 -> /dev/sde
Check if sde existsin in /sys/block/[dm-X]/slaves/xx
If it does mount /dev/[dm-x] which will look like /dev/mapper/mpiodevicename in mount

examples/iscsi has more details
2016-04-20 09:42:11 +08:00
..
atomic_writer.go Make ConfigMap volume readable as non-root 2016-04-05 12:20:52 -04:00
atomic_writer_test.go Remove sentinel file from atomic writer 2016-02-27 16:09:06 -05:00
device_util.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
device_util_linux.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
device_util_linux_test.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
device_util_unsupported.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
doc.go
fs_darwin.go Fix volume secret_test.go on darwin by not checking volume usage metrics 2016-02-17 12:56:37 -08:00
fs_linux.go Fix volume secret_test.go on darwin by not checking volume usage metrics 2016-02-17 12:56:37 -08:00
fs_unsupported.go Fix volume secret_test.go on darwin by not checking volume usage metrics 2016-02-17 12:56:37 -08:00
io_util.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
util.go