libmpathpersist: Set open fds limit in mpath_lib_init
authorXieyingtai <xieyingtai@huawei.com>
Wed, 14 Oct 2015 06:06:46 +0000 (08:06 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 14 Oct 2015 06:06:46 +0000 (08:06 +0200)
commita9d003b6e9beca42f4699929de444e05c806f1ce
treeb05d662d88fdcf7710f6294f7da8cea20584a1bb
parent74f842674ac5a9267b155b52e5abfc1678a680e1
libmpathpersist: Set open fds limit in mpath_lib_init

Mpath persistent reserve out may fail due to file open failed when
too many devices were discoveryed but fd numbers not enough.

Set open fds limit just like multipath in that scene.
libmpathpersist/mpath_persist.c