cloud-hypervisor/vhost_user_fs/src
Eryu Guan 18fbd303ab vhost-user-fs: return correct result of fs_slave_io()
Virtio-fs daemon expects fs_slave_io() returns the number of bytes
read/written on success, but we always return 0 and make userspace think
nothing has been read/written.

Fix it by returning the actual bytes read/written. Note that This
depends on the corresponding fix in vhost crate.

Fixes: #949
Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
2020-03-24 14:55:56 +01:00
..
descriptor_utils.rs vhost_user_fs: Add support for indirect descriptors 2020-02-25 11:12:50 +00:00
file_traits.rs vhost_user_fs: Add file traits to handle writing volatile memory 2019-11-22 22:17:47 +01:00
filesystem.rs vhost_user_fs: Implement support for FUSE_LSEEK 2020-03-18 18:15:28 +00:00
fs_cache_req_handler.rs vhost-user-fs: return correct result of fs_slave_io() 2020-03-24 14:55:56 +01:00
fuse.rs vhost_user_fs: add necessary structs for map/unmap requests 2020-02-19 07:52:50 +00:00
lib.rs vhost_user_fs: add fs cache request operations 2020-02-19 07:52:50 +00:00
multikey.rs vhost_user_fs: Add multikey module 2019-11-22 22:17:47 +01:00
passthrough.rs vhost_user_fs: Implement support for FUSE_LSEEK 2020-03-18 18:15:28 +00:00
server.rs vhost_user_fs: Implement support for FUSE_LSEEK 2020-03-18 18:15:28 +00:00