summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2009-05-24 11:37:10 +0000
committerdfr <dfr@FreeBSD.org>2009-05-24 11:37:10 +0000
commit216f2b3fe33d137b88c8923ae63a501cc26e6d0b (patch)
tree17d2884785b4a2640b864eba3df76c879c8f5847
parent4bf244123ecedd7390a6ddc01c55c6ab985e3745 (diff)
downloadFreeBSD-src-216f2b3fe33d137b88c8923ae63a501cc26e6d0b.zip
FreeBSD-src-216f2b3fe33d137b88c8923ae63a501cc26e6d0b.tar.gz
Increase the number of available file descriptors to 64. This fixes the
reported zfsboot problems for systems where more than seven drives are part of ZFS pools.
-rw-r--r--lib/libstand/stand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h
index 91bfd93..eae1605 100644
--- a/lib/libstand/stand.h
+++ b/lib/libstand/stand.h
@@ -167,7 +167,7 @@ struct open_file {
#define SOPEN_RASIZE 512
};
-#define SOPEN_MAX 8
+#define SOPEN_MAX 64
extern struct open_file files[];
/* f_flags values */
OpenPOWER on IntegriCloud