diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2017-07-06 11:01:08 -0700 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-08-31 09:45:55 -0400 |
commit | b3f9f773af1f925b35f73f5e946bd96728b96cca (patch) | |
tree | a619600316e6737d2fd03edaee498f48fa9ec138 /fs/buffer.c | |
parent | 5d520d8580b31d75a115ac58ab0a804b92581fd5 (diff) | |
download | linux-b3f9f773af1f925b35f73f5e946bd96728b96cca.tar.bz2 |
xen/pvcalls: implement read
When an active socket has data available, increment the io and read
counters, and schedule the ioworker.
Implement the read function by reading from the socket, writing the data
to the data ring.
Set in_error on error.
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 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions