summaryrefslogtreecommitdiffstats
path: root/fs/efs
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
commit5d520d8580b31d75a115ac58ab0a804b92581fd5 (patch)
treeb611ceb5e6b6955202275fe27c2dc956cd220085 /fs/efs
parentxen/pvcalls: disconnect and module_exit (diff)
downloadlinux-5d520d8580b31d75a115ac58ab0a804b92581fd5.tar.xz
linux-5d520d8580b31d75a115ac58ab0a804b92581fd5.zip
xen/pvcalls: implement the ioworker functions
We have one ioworker per socket. Each ioworker goes through the list of outstanding read/write requests. Once all requests have been dealt with, it returns. We use one atomic counter per socket for "read" operations and one for "write" operations to keep track of the reads/writes to do. We also use one atomic counter ("io") per ioworker to keep track of how many outstanding requests we have in total assigned to the ioworker. The ioworker finishes when there are none. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.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 'fs/efs')
0 files changed, 0 insertions, 0 deletions