All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Kinglong Mee <kinglongmee@gmail.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>,
	Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH] NFSD: Check layout type when returning client layouts
Date: Thu, 19 Mar 2015 15:39:32 +0100	[thread overview]
Message-ID: <20150319143932.GA25575@lst.de> (raw)
In-Reply-To: <550AAD2E.6040607@gmail.com>

On Thu, Mar 19, 2015 at 07:04:14PM +0800, Kinglong Mee wrote:
> According to RFC5661:
> " When lr_returntype is LAYOUTRETURN4_FSID, the current filehandle is used
>    to identify the file system and all layouts matching the client ID,
>    the fsid of the file system, lora_layout_type, and lora_iomode are
>    returned.  When lr_returntype is LAYOUTRETURN4_ALL, all layouts
>    matching the client ID, lora_layout_type, and lora_iomode are
>    returned and the current filehandle is not used. "
> 
> When returning client layouts, always check layout type.
> 
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

      reply	other threads:[~2015-03-19 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 11:04 [PATCH] NFSD: Check layout type when returning client layouts Kinglong Mee
2015-03-19 14:39 ` Christoph Hellwig [this message]

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=20150319143932.GA25575@lst.de \
    --to=hch@lst.de \
    --cc=bfields@fieldses.org \
    --cc=kinglongmee@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /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.