From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761893AbXKNRxf (ORCPT ); Wed, 14 Nov 2007 12:53:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753870AbXKNRx1 (ORCPT ); Wed, 14 Nov 2007 12:53:27 -0500 Received: from mail.fieldses.org ([66.93.2.214]:52330 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752620AbXKNRx0 (ORCPT ); Wed, 14 Nov 2007 12:53:26 -0500 Date: Wed, 14 Nov 2007 12:53:22 -0500 To: Christoph Hellwig Cc: Chris Wedgwood , linux-xfs@oss.sgi.com, LKML Subject: Re: 2.6.24-rc2 XFS nfsd hang Message-ID: <20071114175322.GD14254@fieldses.org> References: <20071114070400.GA25708@puku.stupidest.org> <20071114152952.GA4210@infradead.org> <20071114173922.GC14254@fieldses.org> <20071114174419.GA15271@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071114174419.GA15271@infradead.org> User-Agent: Mutt/1.5.17 (2007-11-01) From: "J. Bruce Fields" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 14, 2007 at 05:44:19PM +0000, Christoph Hellwig wrote: > On Wed, Nov 14, 2007 at 12:39:22PM -0500, J. Bruce Fields wrote: > > This must have come up before; feel free to remind me: is there any way > > to make the interface easier to use? (E.g. would it help if the filldir > > callback could be passed a dentry?) > > The best thing for the filesystem would be to have a readdirplus > (or have it folded into readdir) instead of calling into lookup > from ->filldir. And the readdirplus would pass a dentry to its equivalent of ->filldir? Or something else? --b.