Expose soaio_enqueue().

This can be used by protocol-specific AIO handlers to queue work to the
socket AIO daemon pool.

Sponsored by:	Chelsio Communications
This commit is contained in:
jhb 2016-04-29 20:12:45 +00:00
parent ab5f9da057
commit 1a67ba1558
2 changed files with 2 additions and 1 deletions

View File

@ -512,7 +512,7 @@ soaio_kproc_create(void *context, int pending)
mtx_unlock(&soaio_jobs_lock);
}
static void
void
soaio_enqueue(struct task *task)
{

View File

@ -341,6 +341,7 @@ int getsock_cap(struct thread *td, int fd, cap_rights_t *rightsp,
struct file **fpp, u_int *fflagp);
void soabort(struct socket *so);
int soaccept(struct socket *so, struct sockaddr **nam);
void soaio_enqueue(struct task *task);
void soaio_rcv(void *context, int pending);
void soaio_snd(void *context, int pending);
int socheckuid(struct socket *so, uid_t uid);