Re: [Qemu-devel] [PATCH v2 8/9] xen/9pfs: send responses back to the frontend

2017-03-15 Thread Stefano Stabellini
On Wed, 15 Mar 2017, Greg Kurz wrote: > On Mon, 13 Mar 2017 16:55:59 -0700 > Stefano Stabellini wrote: > > > Once a request is completed, xen_9pfs_push_and_notify gets called. In > > xen_9pfs_push_and_notify, update the indexes (data has already been > > copied to the sg by the common code) and s

Re: [Qemu-devel] [PATCH v2 8/9] xen/9pfs: send responses back to the frontend

2017-03-15 Thread Greg Kurz
On Mon, 13 Mar 2017 16:55:59 -0700 Stefano Stabellini wrote: > Once a request is completed, xen_9pfs_push_and_notify gets called. In > xen_9pfs_push_and_notify, update the indexes (data has already been > copied to the sg by the common code) and send a notification to the > frontend. > > Schedul

[Qemu-devel] [PATCH v2 8/9] xen/9pfs: send responses back to the frontend

2017-03-13 Thread Stefano Stabellini
Once a request is completed, xen_9pfs_push_and_notify gets called. In xen_9pfs_push_and_notify, update the indexes (data has already been copied to the sg by the common code) and send a notification to the frontend. Schedule the bottom-half to check if we already have any other requests pending.