From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcos Dione Subject: Re: fixing redundant network opens on Linux file creation Date: Mon, 6 Jan 2003 19:18:30 -0300 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20030106221830.GA31419@grulic.org.ar> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: samba-technical@samba.org, linux-fsdevel@vger.kernel.org Return-path: Received: from mx.grulic.org.ar (localhost.localdomain [127.0.0.1]) by alvin.unc.edu.ar (8.11.6/8.11.6) with ESMTP id h06MN2N26341 for ; Mon, 6 Jan 2003 19:23:02 -0300 To: Steven French Content-Disposition: inline In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org On Mon, Jan 06, 2003 at 11:25:32AM -0600, Steven French wrote: > The creat() system call results (for the Linux kernel) in calls to create > (via vfs_create) then later a call to open (via dentry_open) both of which > eventually end up (for the cifs vfs) doing a network open of the file from > the perspective of the CIFS protocol which degrades performance (because why not implement create as a separate feature? you can use a different message and mknod(2) on the server. I'm asking 'cause I'll have the same problem when implementing my thesis. -- well-designed technology should allow people the luxury of ignorance -- Eric S. Raymond