All of lore.kernel.org
 help / color / mirror / Atom feed
* [Virtio-fs] [PATCH 0/2][V2] virtiofsd: Do not setup mapping read-write always
@ 2019-07-26 15:58 Vivek Goyal
  2019-07-26 15:58 ` [Virtio-fs] [PATCH 1/2] virtiofsd: During setup mapping, open file O_RDWR only if needed Vivek Goyal
  2019-07-26 15:58 ` [Virtio-fs] [PATCH 2/2] virtiofsd: No need to promote O_WRONLY to O_RDWR Vivek Goyal
  0 siblings, 2 replies; 4+ messages in thread
From: Vivek Goyal @ 2019-07-26 15:58 UTC (permalink / raw)
  To: virtio-fs

Setup mapping either read-only or read-write depending on what client
has asked for. Also open file O_RDONLY for read-only mapping (and not
O_RDWR). Otherwise files always get copied up on overlayfs.

Vivek Goyal (2):
  virtiofsd: During setup mapping, open file O_RDWR only if needed
  virtiofsd: No need to promote O_WRONLY to O_RDWR

 contrib/virtiofsd/fuse_lowlevel.c  |  5 +++--
 contrib/virtiofsd/passthrough_ll.c | 29 +++++++----------------------
 2 files changed, 10 insertions(+), 24 deletions(-)

-- 
2.17.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-29 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-26 15:58 [Virtio-fs] [PATCH 0/2][V2] virtiofsd: Do not setup mapping read-write always Vivek Goyal
2019-07-26 15:58 ` [Virtio-fs] [PATCH 1/2] virtiofsd: During setup mapping, open file O_RDWR only if needed Vivek Goyal
2019-07-26 15:58 ` [Virtio-fs] [PATCH 2/2] virtiofsd: No need to promote O_WRONLY to O_RDWR Vivek Goyal
2019-07-29 11:15   ` Dr. David Alan Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.