Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Differential
D3814
Diff 9595
sys/kern/vfs_aio.c
Changeset View
Maybe make a smaller diff by checking for timo == -1 in here? That is, just
I've seen this pattern in other places in the kernel. Often the sleep is done in the else in this case. Also, even though EGAIN == EWOULDBLOCK on FreeBSD, EWOULDBLOCK (or EINPROGRESS) better matches the existing error descriptions in the aio_waitcomplete(2) manpage. It is also what other places in the kernel use when skipping a sleep due to a poll.