[Virtio-fs] [PATCH 0/3] virtio-fs: Create a read-write mapping only if needed
Vivek Goyal
vgoyal at redhat.com
Wed Jul 24 21:07:18 UTC 2019
This should apply on top of.
https://gitlab.com/virtio-fs/linux/commits/virtio-fs-dev
Do not always create a read-write mapping. Create it read-write only if
caller asked for it. Otherwise create a read-only mapping and upgrade
it to read-write later when needed.
Vivek Goyal (3):
fuse: Get rid of file parameter from setup mapping
fuse: Move new mapping setup code in a function
fuse: Add logic to upgrade a read-only mapping to read-write
fs/fuse/file.c | 246 +++++++++++++++++++++++++++++------------------
fs/fuse/fuse_i.h | 3 +
2 files changed, 155 insertions(+), 94 deletions(-)
--
2.17.2
More information about the Virtio-fs
mailing list