xfs
[Top] [All Lists]

TAKE 973377 - cleanup to use generic linux filldir causes nfsd hang

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 973377 - cleanup to use generic linux filldir causes nfsd hang
From: dgc@xxxxxxx (David Chinner)
Date: Thu, 6 Dec 2007 16:17:56 +1100 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
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.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Thu Dec  6 16:17:12 AEDT 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  hch@xxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:30201a
fs/xfs/linux-2.6/xfs_file.c - 1.159 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_file.c.diff?r1=text&tr1=1.159&r2=text&tr2=1.158&f=h
        - revert the readdir code to using double buffering to work around a
          deadlock with nfsd calling back into the lookup code from filldir.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 973377 - cleanup to use generic linux filldir causes nfsd hang, David Chinner <=