nfs-utils: multithreaded mountd fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nfs-utils: remove xflock timeoutsupport/ | +1 | 0 replies | |
| 2/3 | nfs-utils: dont leak fd in mountlist_listutils/ | +4 | 0 replies | |
| 3/3 | nfs-utils: don't fdatasync the rmtabsupport/ support/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] nfs-utils: multithreaded mountd fixes
Hey Steve,
The following fixes a problem with mountd where you get backed up behind the rmtab lock. It may have happened that an xflock timed out and stat failed so the filedescriptor was leaked in mountlist_list and the lock never released. Skipping the fdatasync has also helped performance-wise.
Tested very lightly on TOT and more heavily on 1.0.7 where this bug was discovered.
Thanks,
Ben
---
Ben Myers (3):
nfs-utils: remove xflock timeout
nfs-utils: dont leak fd in mountlist_list
nfs-utils: don't fdatasync the rmtab
support/nfs/cacheio.c | 5 ++--- support/nfs/rmtab.c | 23 ++++++++++++++++++----- support/nfs/xio.c | 18 +----------------- utils/mountd/rmtab.c | 5 ++++- 4 files changed, 25 insertions(+), 26 deletions(-)