[PATCH 0/3] nfs-utils: multithreaded mountd fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux