All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Hudec <bulb@ucw.cz>
To: Marcos Dione <mdione@grulic.org.ar>
Cc: Steven French <sfrench@us.ibm.com>,
	samba-technical@samba.org, linux-fsdevel@vger.kernel.org
Subject: Re: fixing redundant network opens on Linux file creation
Date: Tue, 7 Jan 2003 10:35:15 +0100	[thread overview]
Message-ID: <20030107093515.GF2141@vagabond> (raw)
In-Reply-To: <20030106221830.GA31419@grulic.org.ar>

On Mon, Jan 06, 2003 at 07:18:30PM -0300, Marcos Dione wrote:
> 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.

That won't help. You are still doing two upcalls, it still isn't atomic
etc. etc. The problem is, that vfs always calls ->create and then
->open, both for open(O_CREAT) and create.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

  reply	other threads:[~2003-01-07  9:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-06 17:25 fixing redundant network opens on Linux file creation Steven French
2003-01-06 18:14 ` Richard Sharpe
2003-01-06 17:59   ` Jan Hudec
2003-01-06 19:42     ` Bryan Henderson
2003-01-06 19:56       ` Jan Harkes
2003-01-06 21:58         ` Bryan Henderson
2003-01-06 21:31       ` Andreas Dilger
2003-01-06 22:23         ` Bryan Henderson
2003-01-06 22:48           ` Andreas Dilger
2003-01-07  1:06             ` Bryan Henderson
2003-01-07 13:19               ` [Lustre-devel] " Mike Shaver
2003-01-07 17:28                 ` Bryan Henderson
2003-01-07 18:50                   ` Andreas Dilger
2003-01-08 17:52                     ` Bryan Henderson
2003-01-08 19:11                       ` Peter Braam
2003-01-09  2:08                         ` Bryan Henderson
2003-01-09  3:36                           ` Peter Braam
2003-01-06 22:18 ` Marcos Dione
2003-01-07  9:35   ` Jan Hudec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-06 18:46 Steven French
2003-01-06 19:26 ` Richard Sharpe
2003-01-06 20:29 ` Richard Sharpe
2003-01-06 20:50 Steven French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030107093515.GF2141@vagabond \
    --to=bulb@ucw.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mdione@grulic.org.ar \
    --cc=samba-technical@samba.org \
    --cc=sfrench@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.