diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-12-21 04:21:59 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-12-21 04:21:59 +0000 |
commit | 41ec95c47fd3bac8549d0b5d424eaa2b6420e47d (patch) | |
tree | e8d6538e8e5f38d1fd7334fae49f88903b0c7bd9 /lib/libdevinfo/devinfo.c | |
parent | 5eff7c4116172df41f8ca062305562019df7dce6 (diff) | |
download | src-41ec95c47fd3bac8549d0b5d424eaa2b6420e47d.tar.gz src-41ec95c47fd3bac8549d0b5d424eaa2b6420e47d.zip |
Bump number that's an insane number of devices from 1,000 to 10,000. I
have access to machines that are pushing 400 devices. When 1,000 was
selected, it was rare to get even 40 or 50 devices. Bump the limit by
10x to keep up with the times.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=327054
Diffstat (limited to 'lib/libdevinfo/devinfo.c')
-rw-r--r-- | lib/libdevinfo/devinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdevinfo/devinfo.c b/lib/libdevinfo/devinfo.c index 98fe6d1f673a..bcdb735d1542 100644 --- a/lib/libdevinfo/devinfo.c +++ b/lib/libdevinfo/devinfo.c @@ -204,7 +204,7 @@ devinfo_init_devices(int generation) * Stop after a fairly insane number to avoid death in the case * of kernel corruption. */ - for (dev_idx = 0; dev_idx < 1000; dev_idx++) { + for (dev_idx = 0; dev_idx < 10000; dev_idx++) { /* * Get the device information. |