bio
 
Loading...
Searching...
No Matches

FreeBSD implementation details. More...

Macros

#define BIO_FREEBSD_DEFAULT_BATCH_SIZE   4
 Default number of output events passed to kevent.
 

Detailed Description

FreeBSD implementation details.

bio uses uses kqueue on FreeBSD.

Abstract socket is not supported. Using it will result in ENOTSUP.

For file, aio is used. However, it is possible that unsafe operations on special files might not be enabled with vfs.aio.enable_unsafe=1. For each file, bio will detect EOPNOTSUPP on the initial aio call and fallback to the async thread pool.

Macro Definition Documentation

◆ BIO_FREEBSD_DEFAULT_BATCH_SIZE

#define BIO_FREEBSD_DEFAULT_BATCH_SIZE   4

Default number of output events passed to kevent.