From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: [PATCH/RFC 1/2] anon-inodes: Remove fd_install() from anon_inode_getfd() Date: Sat, 08 Mar 2008 18:46:39 -0800 Message-ID: References: <20080225191043.GA32342@lst.de> <20080306151402.GA17077@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Linux Kernel Mailing List , Avi Kivity , Davide Libenzi , Al Viro , linux-fsdevel@vger.kernel.org, Andrew Morton To: Christoph Hellwig Return-path: In-Reply-To: <20080306151402.GA17077@lst.de> (Christoph Hellwig's message of "Thu, 6 Mar 2008 16:14:02 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: linux-fsdevel.vger.kernel.org > No, the best interface is one where the driver doesn't even see > inode or file. Of course that's not actually possible in a few > nasty cases like the infiniband code, and for those it might be > better to do the fd_isntall themselves. Yeah, I've been thinking about this some more, and I think the IB case can be cleaned up to use the current anonfd interface (and in fact ignore the file pointer and inode it gets back). I'll try to write a patch this week. - R. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/