Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163288419
D51191.id158100.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
357 B
Referenced Files
None
Subscribers
None
D51191.id158100.diff
View Options
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -455,8 +455,11 @@
error = 0;
while (num_aio_procs < MIN(target_aio_procs, max_aio_procs)) {
error = aio_newproc(NULL);
- if (error != 0)
+ if (error != 0) {
+ if (num_aio_procs > 0)
+ error = 0;
break;
+ }
}
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 6:33 PM (19 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35376570
Default Alt Text
D51191.id158100.diff (357 B)
Attached To
Mode
D51191: aio: if there is at least one aio thread, hide an error from aio_init_aioinfo()
Attached
Detach File
Event Timeline
Log In to Comment