Noted by: jhb Fixes: 4685fa8e4bef169e6a1ceaf07f149232326de805
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Note that if fork() fails, then the process is already in somewhat funny state. In the case that was reported by pho and which caused the referenced change, the mechanism preventing the forked child to escape group signal was kicking, and the process was going to terminate (loop prevented the single-threading in exit). So we are already not healthy if an error occured.
On the other hand, if there is just one aio worker, then aio is not too functional.
Anyway, I think the patch should be the right thing.