Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938972AbXHII06 (ORCPT ); Thu, 9 Aug 2007 04:26:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759596AbXHII0p (ORCPT ); Thu, 9 Aug 2007 04:26:45 -0400 Received: from mail-gw3.sa.ew.hu ([212.108.200.82]:45730 "EHLO mail-gw3.sa.ew.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758869AbXHII0o (ORCPT ); Thu, 9 Aug 2007 04:26:44 -0400 To: hch@infradead.org CC: agruen@suse.de, linux-kernel@vger.kernel.org, jjohansen@suse.de, jblunck@suse.de, ezk@cs.sunysb.edu, jsipek@cs.sunysb.edu In-reply-to: <20070808193209.GA31354@infradead.org> (message from Christoph Hellwig on Wed, 8 Aug 2007 20:32:09 +0100) Subject: atomic open (was Re: [RFC 01/10] Split up struct nameidata) References: <20070808171622.632749741@suse.de> <20070808171643.542685765@suse.de> <20070808193209.GA31354@infradead.org> Message-Id: From: Miklos Szeredi Date: Thu, 09 Aug 2007 10:26:02 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 23 > On Wed, Aug 08, 2007 at 07:16:23PM +0200, Andreas Gruenbacher wrote: > > Split up struct nameidata into struct vfs_lookup with the lookup result > > and intent and the remaining fields for performing an actual lookup. > > Looks good as a start, but please don't put a struct path in there, > as the vfsmount will go away from the lookup intent as soon as we have > a new inode operation for atomic create + open, and not having it in the > struct path will make that removal a lot less painfull. Btw, is the atomic open/create/truncate operation any further than conceptual phase? Have we worked out what to do with the ugly "create follows symlink" case? I'm just about to add another hack to the VFS to enable atomic open+truncate for fuse, and have a feeling that it will provoke some not so positive reactions ;) Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/