qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] hw/9pfs: Implement file descriptor reclaim in VirtFS server
@ 2011-08-25 15:03 Aneesh Kumar K.V
  2011-08-25 15:03 ` [Qemu-devel] [PATCH 1/6] hw/9pfs: Add reference counting for fid Aneesh Kumar K.V
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Aneesh Kumar K.V @ 2011-08-25 15:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori

Hi,

The patch series implement file descriptor reclaim support in
VirtFS server. VirtFS qemu server track open file descriptor
on the client using an open fid. This result in server returning
EMFILE error even though on the client side the process have not
reached maximum open file limit.

To fix this we reclaim file descriptor on the server when we
reach high watermark.

The following changes since commit 56a7a874e962e28522857fbf72eaefb1a07e2001:

  Merge remote-tracking branch 'stefanha/trivial-patches' into staging (2011-08-25 07:50:07 -0500)

are available in the git repository at:

  git://repo.or.cz/qemu/v9fs.git for-upstream-3

Aneesh Kumar K.V (6):
      hw/9pfs: Add reference counting for fid
      hw/9pfs: Add file descriptor reclaim support
      hw/9pfs: init fid list properly
      hw/9pfs: Use v9fs_do_close instead of close
      hw/9pfs: Add directory reclaim support
      hw/9pfs: mark directories also as un-reclaimable on unlink

 hw/9pfs/codir.c            |   13 +-
 hw/9pfs/cofile.c           |   19 ++-
 hw/9pfs/virtio-9p-coth.h   |    4 +-
 hw/9pfs/virtio-9p-device.c |    2 +
 hw/9pfs/virtio-9p.c        |  486 +++++++++++++++++++++++++++++++++++---------
 hw/9pfs/virtio-9p.h        |   24 ++-
 6 files changed, 445 insertions(+), 103 deletions(-)

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

end of thread, other threads:[~2011-08-25 15:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25 15:03 [Qemu-devel] [PATCH 0/6] hw/9pfs: Implement file descriptor reclaim in VirtFS server Aneesh Kumar K.V
2011-08-25 15:03 ` [Qemu-devel] [PATCH 1/6] hw/9pfs: Add reference counting for fid Aneesh Kumar K.V
2011-08-25 15:03 ` [Qemu-devel] [PATCH 2/6] hw/9pfs: Add file descriptor reclaim support Aneesh Kumar K.V
2011-08-25 15:03 ` [Qemu-devel] [PATCH 3/6] hw/9pfs: init fid list properly Aneesh Kumar K.V
2011-08-25 15:03 ` [Qemu-devel] [PATCH 4/6] hw/9pfs: Use v9fs_do_close instead of close Aneesh Kumar K.V
2011-08-25 15:03 ` [Qemu-devel] [PATCH 5/6] hw/9pfs: Add directory reclaim support Aneesh Kumar K.V
2011-08-25 15:03 ` [Qemu-devel] [PATCH 6/6] hw/9pfs: mark directories also as un-reclaimable on unlink Aneesh Kumar K.V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).