]> err.no Git - linux-2.6/commit
[XFS] revert to double-buffering readdir
authorChristoph Hellwig <hch@infradead.org>
Fri, 7 Dec 2007 03:07:53 +0000 (14:07 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Mon, 10 Dec 2007 02:47:15 +0000 (13:47 +1100)
commite89bc612d61edbcefaeb6f2244f86c0f3ec89d23
tree077e87a470b1ae2b8660fcc02f77f7b303e4c0f7
parenta7430847fcb19297d6db833f35b9c9645c4a6395
[XFS] revert to double-buffering readdir

The current readdir implementation deadlocks on a btree buffers locks
because nfsd calls back into ->lookup from the filldir callback. The only
short-term fix for this is to revert to the old inefficient
double-buffering scheme.

SGI-PV: 973377
SGI-Modid: xfs-linux-melb:xfs-kern:30201a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_file.c