9pfs: v9fs_reclaim_fd() fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Patch 2: Decrement global variable total_open_fd on main thread, not on fs driver background thread.
- Patch 2: Update commit log about file descriptor leak being fixed.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | 9pfs: fix concurrent v9fs_reclaim_fd() callshw/ hw/ | +11 | 0 replies | |
| 2/2 | 9pfs: fix FD leak and reduce latency of v9fs_reclaim_fd()hw/ | +20 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Greg Kurz |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] 9pfs: v9fs_reclaim_fd() fixes
Three fixes for 9p server's v9fs_reclaim_fd() function:
* Patch 1 fixes a concurrency issue.
* Patch 2 fixes a file descriptor leak and optimizes overall latency. On a test machine with ~800,000 FIDs, this reduced execution duration of v9fs_reclaim_fd() from 30ms to 1ms.
V2:
- Patch 2: Decrement global variable total_open_fd on main thread, not on fs driver background thread.
- Patch 2: Update commit log about file descriptor leak being fixed.
Christian Schoenebeck (2):
9pfs: fix concurrent v9fs_reclaim_fd() calls 9pfs: fix FD leak and reduce latency of v9fs_reclaim_fd()
hw/9pfs/9p.c | 39 ++++++++++++++++++++++++++++++--------- hw/9pfs/9p.h | 1 + 2 files changed, 31 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.5