Give some information on SF_MNOWAIT flag.
MFC after: 3 days
This commit is contained in:
parent
ca5f8016e3
commit
0b56296772
@ -116,9 +116,17 @@ Busy servers may benefit by transferring requests that would
|
||||
block to a separate I/O worker thread.
|
||||
.It
|
||||
.Dv SF_MNOWAIT .
|
||||
(description missing)
|
||||
Do not wait for some kernel resource to become available,
|
||||
in particular,
|
||||
.Vt mbuf
|
||||
and
|
||||
.Vt sf_buf .
|
||||
The flag does not make the
|
||||
.Fn sendfile
|
||||
syscall trully non-blocking, since other resources are still allocated
|
||||
in blocking fashion.
|
||||
.It
|
||||
.Dv SF_SYNC ,
|
||||
.Dv SF_SYNC .
|
||||
.Nm
|
||||
sleeps until the network stack no longer references the VM pages
|
||||
of the file, making subsequent modifications to it safe.
|
||||
|
Loading…
Reference in New Issue
Block a user