90multipath: add hostonly multipath.conf in case hostonly mode
commit77403e0032c0ca8bcd4c3951e3ead3bd8c23f8e6
authorDave Young <dyoung@redhat.com>
Mon, 6 Jul 2015 07:31:26 +0000 (6 15:31 +0800)
committerHarald Hoyer <harald@redhat.com>
Mon, 6 Jul 2015 08:06:04 +0000 (6 10:06 +0200)
tree08298fa7f182570532ab5bdd8ead1eabba1a427e
parent8d09f493a634f0c6c44e99fb22618b75cbb41f0f
90multipath: add hostonly multipath.conf in case hostonly mode

For large machine, suppose there's a lot of multipath devices, multipath layer
will use a lot of memory. For kdump kernel memory is very limited thus it causes
oom. To avoid oom, we only add necessary multipath devices in kdump kernel
multipath.conf.

This is done by use mpathconf --allow, a new option which is like whitelist.

Signed-off-by: Dave Young <dyoung@redhat.com>
modules.d/90multipath/module-setup.sh