[libmultipath] fix the "too many files" error
authorBenjamin Marzinski <bmarzin@redhat.com>
Tue, 15 Jan 2008 22:59:04 +0000 (23:59 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 15 Jan 2008 22:59:04 +0000 (23:59 +0100)
commit4ced5657f5361cca01bf8a84abb226b28dc19f47
treeda37b13b00aeb670fd34056689eaafb54d424bde
parentcffec5d25101b8bb1e524ab58989c6bb2c3cf391
[libmultipath] fix the "too many files" error

Added a max_fds parameter to /etc/multipath.conf. This allows
you to set the maximum number of open fds that multipathd can use, like with
ulimit -n.  Also added some code so that multipath closes the file descriptor
after it's used by the checker function, since multipath doesn't need to keep
them always open like multipathd does.
libmultipath/config.c
libmultipath/config.h
libmultipath/dict.c
libmultipath/discovery.c
libmultipath/structs.h
multipath.conf.annotated
multipath.conf.synthetic
multipathd/main.c