summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-05-30 14:31:09 +1000
committerNeilBrown <neilb@suse.de>2013-05-30 14:31:09 +1000
commita7dec3fd92e9b77b0bc7bb8e8e0b4c878baef45a (patch)
tree071b4d67fce6e2e03d26d2a1c96bbc2d4b1a5d94 /mdadm.h
parent041b815f172579018eb85de7476bc6da8adebae5 (diff)
Make sure NOFILE resource limit is big enough.
Some people want to create truely enormous arrays. As we sometimes need to hold one file descriptor for each device, this can hit the NOFILE limit. So raise the limit if it ever looks like it might be a problem. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index b7af65dc..e0837acb 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1220,6 +1220,7 @@ extern int open_dev_excl(char *devnm);
extern int is_standard(char *dev, int *nump);
extern int same_dev(char *one, char *two);
extern int compare_paths (char* path1,char* path2);
+extern void enable_fds(int devices);
extern int parse_auto(char *str, char *msg, int config);
extern struct mddev_ident *conf_get_ident(char *dev);