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:
parent
ab5f9da057
commit
1a67ba1558
@ -512,7 +512,7 @@ soaio_kproc_create(void *context, int pending)
|
||||
mtx_unlock(&soaio_jobs_lock);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
soaio_enqueue(struct task *task)
|
||||
{
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user