Linux NFS development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Peng Tao <tao.peng@primarydata.com>
Cc: linux-nfs@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
	Boaz Harrosh <boaz@plexistor.com>
Subject: Re: [PATCH] nfs41: change PNFS_LAYOUTRET_ON_SETATTR to only return on chown/truncate
Date: Thu, 11 Sep 2014 13:11:48 -0700	[thread overview]
Message-ID: <20140911201148.GA6623@infradead.org> (raw)
In-Reply-To: <1410447752-11288-1-git-send-email-tao.peng@primarydata.com>

On Thu, Sep 11, 2014 at 11:02:32PM +0800, Peng Tao wrote:
> Both blocks layout and objects layout want to use it to avoid CB_LAYOUTRECALL
> but that should only happen if client is doing chown or truncate. So change
> PNFS_LAYOUTRET_ON_SETATTR to follow the logic and not to send layoutreturn
> unnecessarily.

We should defintively reduce the amount of returns, but why do we even
bother and chown and a truncate to a larger size?


  reply	other threads:[~2014-09-11 20:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 15:02 [PATCH] nfs41: change PNFS_LAYOUTRET_ON_SETATTR to only return on chown/truncate Peng Tao
2014-09-11 20:11 ` Christoph Hellwig [this message]
2014-09-12  2:23   ` Peng Tao
  -- strict thread matches above, loose matches on Subject: below --
2014-09-12  3:01 Peng Tao
2014-09-12  3:03 ` Peng Tao

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=20140911201148.GA6623@infradead.org \
    --to=hch@infradead.org \
    --cc=boaz@plexistor.com \
    --cc=hch@lst.de \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tao.peng@primarydata.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox