mbox series

[0/4] Readdir fixes

Message ID 20200202225356.995080-1-trond.myklebust@hammerspace.com (mailing list archive)
Headers show
Series Readdir fixes | expand

Message

Trond Myklebust Feb. 2, 2020, 10:53 p.m. UTC
Two stable patches that fix memory corruption and a memory leak in the
readdir code. Fixing those issues together with the patch by Dai Ngo
then allows us to switch NFS over to the iterate_shared() interface
to enable parallel access to readdir() for the same directory.

Trond Myklebust (4):
  NFS: Fix memory leaks and corruption in readdir
  NFS: Directory page cache pages need to be locked when read
  NFS: Use kmemdup_nul() in nfs_readdir_make_qstr()
  NFS: Switch readdir to using iterate_shared()

 fs/nfs/dir.c | 51 ++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 36 insertions(+), 15 deletions(-)