From: Al Viro <viro@ZenIV.linux.org.uk>
To: Jeff Layton <jlayton@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-nfs@vger.kernel.org
Subject: Re: [PATCH] vfs: pass struct file to do_truncate on O_TRUNC opens
Date: Mon, 15 Mar 2010 22:50:37 +0000 [thread overview]
Message-ID: <20100315225037.GX30031@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20100315184702.35c4d140@tlielax.poochiereds.net>
On Mon, Mar 15, 2010 at 06:47:02PM -0400, Jeff Layton wrote:
> Yeah that would be cleaner on the wire for the create case. It's not
> clear to me how to implement that though. There doesn't appear to be
> a straightforward way to tell the VFS to skip the truncate.
The plan is to turn most of the guts of do_last() into fs method...
next prev parent reply other threads:[~2010-03-15 22:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 21:39 [PATCH] vfs: pass struct file to do_truncate on O_TRUNC opens Jeff Layton
[not found] ` <1268689152-19168-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-03-15 22:31 ` Trond Myklebust
2010-03-15 22:47 ` Jeff Layton
2010-03-15 22:50 ` Al Viro [this message]
[not found] ` <20100315225037.GX30031-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org>
2010-03-15 23:03 ` Jeff Layton
2010-03-16 17:47 ` Valerie Aurora
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=20100315225037.GX30031@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=jlayton@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).