linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
To: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: v9fs-developer@lists.sourceforge.net,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [V9fs-developer] [PATCH 3/5] 9p: revert tsyncfs related changes
Date: Sun, 27 Mar 2011 15:24:58 -0700	[thread overview]
Message-ID: <4D8FB93A.6020508@linux.vnet.ibm.com> (raw)
In-Reply-To: <877hbl0xxq.fsf@linux.vnet.ibm.com>

On 03/27/2011 01:28 AM, Aneesh Kumar K. V wrote:
> On Fri, 25 Mar 2011 14:20:04 -0700, Venkateswararao Jujjuri<jvrao@linux.vnet.ibm.com>  wrote:
>> On 03/25/2011 04:30 AM, Aneesh Kumar K.V wrote:
>>> Now that we use write_inode to flush server
>>> cache related to fid, we don't need tsyncfs.
>>> This help us to do a more efficient server flush
>>> for dotu protocol
>> Why are you singling out dotu only? won't it be applicable to dotl too?
>>
> With dotl we can have new operations and so we added tsyncfs. The
> primary goal is to add an operation that can flush server cache. We
> hooked that to sync(2) on the client. With dotu we cannot add new
> operations so we always forced the write on the server in case of dotu
> to O_SYNC. That is much slower than doing an fsync on write_inode. But
> whether doing an fsync on write inode is better than doing tsyncfs on
> sync(2) on client is something i haven't yet measured. Stefan Hajnoczi wants to
> see some numbers before we push tsyncfs in the server(qemu). We also don't
> want a kernel release with 9p operation which we may remove later. So
> the plan now is to get write_inode changes upstream in this merge window
> and later get numbers against tsyncfs/write_inode ->  fsync and add tsyncfs only
> if we see a benefit. BTW NFS use the write_inode approach.

Nice explanation. I looked at NFS and realized that they also follow 
write_inode approach.
So I think you should make it explict that this will be helpful to dotl 
also and may and TFSYNCFS
in the future if needed. With that I ack this.

Reviewed-by : Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>

> -aneesh


  reply	other threads:[~2011-03-27 22:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25 11:30 [PATCH 1/5] fs/9p: Fix revalidate to return correct value Aneesh Kumar K.V
2011-03-25 11:30 ` [PATCH 2/5] fs/9p: Use write_inode for data sync on server Aneesh Kumar K.V
2011-03-25 20:49   ` [V9fs-developer] " Venkateswararao Jujjuri
2011-03-25 11:30 ` [PATCH 3/5] 9p: revert tsyncfs related changes Aneesh Kumar K.V
2011-03-25 21:20   ` [V9fs-developer] " Venkateswararao Jujjuri
2011-03-27  8:28     ` Aneesh Kumar K. V
2011-03-27 22:24       ` Venkateswararao Jujjuri [this message]
2011-03-29 16:05         ` Eric Van Hensbergen
2011-04-15 17:30           ` Aneesh Kumar K.V
2011-03-25 11:30 ` [PATCH 4/5] fs/9p: Fix error reported by coccicheck Aneesh Kumar K.V
2011-03-25 21:27   ` [V9fs-developer] " Venkateswararao Jujjuri
2011-03-25 11:30 ` [PATCH 5/5] 9p: Fix sparse error Aneesh Kumar K.V
2011-03-25 21:26   ` [V9fs-developer] " Venkateswararao Jujjuri
2011-03-25 20:50 ` [V9fs-developer] [PATCH 1/5] fs/9p: Fix revalidate to return correct value Venkateswararao Jujjuri
2011-03-28 20:49   ` Venkateswararao Jujjuri
2011-03-29  4:38     ` Aneesh Kumar K. V

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=4D8FB93A.6020508@linux.vnet.ibm.com \
    --to=jvrao@linux.vnet.ibm.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=v9fs-developer@lists.sourceforge.net \
    /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).