[PATCH 0/3] Fix more NFS readdir regressions

From: Trond Myklebust
Date: Tue Nov 30 2010 - 22:48:32 EST


OK. The first patch in this series fixes the regression reported by
Nick Bowler when I apply it to my setup.

The 2 remaining patches are needed in order to ensure that the
VM doesn't free the readdir page cache page while we're trying to
read from it, and to ensure that we don't leak memory...

Linus, please don't apply these patches quite yet. I'd like to continue
tests for a couple more days before I send you the pull request.

Cheers
Trond

Trond Myklebust (3):
NFS: Ensure we use the correct cookie in nfs_readdir_xdr_filler
NFS: lock the readdir page while it is in use
NFS: Fix a memory leak in nfs_readdir

fs/nfs/dir.c | 25 ++++++++++++++++++++++---
fs/nfs/inode.c | 1 +
include/linux/nfs_fs.h | 1 +
3 files changed, 24 insertions(+), 3 deletions(-)

--
1.7.3.2

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