]> git.baikalelectronics.ru Git - kernel.git/commit
xen/9pfs: connect to the backend
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 5 Apr 2017 19:03:58 +0000 (12:03 -0700)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:11:28 +0000 (11:11 +0200)
commite01cba69d3a90c30637e28ea3a280aba015d26c1
tree9c7b2a5478a5d3406bf917591c7c7cd8198aedde
parent5860f278c7ab9561de42486117a28e33bef52c15
xen/9pfs: connect to the backend

Implement functions to handle the xenbus handshake. Upon connection,
allocate the rings according to the protocol specification.

Initialize a work_struct and a wait_queue. The work_struct will be used
to schedule work upon receiving an event channel notification from the
backend. The wait_queue will be used to wait when the ring is full and
we need to send a new request.

CC: groug@kaod.org
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
CC: Eric Van Hensbergen <ericvh@gmail.com>
CC: Ron Minnich <rminnich@sandia.gov>
CC: Latchesar Ionkov <lucho@ionkov.net>
CC: v9fs-developer@lists.sourceforge.net
Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
net/9p/trans_xen.c