summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-07-06 20:01:07 +0200
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2017-08-31 15:45:55 +0200
commita51729cb9b8079dcb520cb78a761f14fbdd0a3b4 (patch)
treea2a4ad0ccb678e0ab352b58e4b0c38af040f2078 /block
parentxen/pvcalls: implement poll command (diff)
downloadlinux-a51729cb9b8079dcb520cb78a761f14fbdd0a3b4.tar.xz
linux-a51729cb9b8079dcb520cb78a761f14fbdd0a3b4.zip
xen/pvcalls: implement release command
Release both active and passive sockets. For active sockets, make sure to avoid possible conflicts with the ioworker reading/writing to those sockets concurrently. Set map->release to let the ioworker know atomically that the socket will be released soon, then wait until the ioworker finishes (flush_work). Unmap indexes pages and data rings. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Juergen Gross <jgross@suse.com> CC: boris.ostrovsky@oracle.com CC: jgross@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions