public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trondmy@hammerspace.com>
To: "tigran.mkrtchyan@desy.de" <tigran.mkrtchyan@desy.de>,
	"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Cc: "anna.schumaker@netapp.com" <anna.schumaker@netapp.com>
Subject: Re: [PATCH] nfs41: update ff_layout_io_track_ds_error to accept rpc task
Date: Thu, 10 Dec 2020 14:42:38 +0000	[thread overview]
Message-ID: <e7c1fb7d7b658782a73616670f4c072db029ac53.camel@hammerspace.com> (raw)
In-Reply-To: <20201210105543.22489-1-tigran.mkrtchyan@desy.de>

Hi Tigran,

On Thu, 2020-12-10 at 10:55 +0000, Tigran Mkrtchyan wrote:
> When debugging READ_PLUS issues sent to DS I noticed that layoutstats
> was reporting READ, though READ_PLUS was used.
> 
> The ff_layout_io_track_ds_error function takes the 'major' opnum as
> an
> argumentas well as the corresponding resulting error code.
> 
> By passing rpc task as an argument, the bogh values can be extracted
> insideff_layout_io_track_ds_error and reduce a possibility of calling
> with incorrect opnum.

I think we just want to disable READ_PLUS support in pNFS for the
moment. We have no way of discovering and tracking whether or not the
DS actually supports it, so let's leave it out for now.

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@hammerspace.com



  reply	other threads:[~2020-12-10 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 10:55 [PATCH] nfs41: update ff_layout_io_track_ds_error to accept rpc task Tigran Mkrtchyan
2020-12-10 14:42 ` Trond Myklebust [this message]
2020-12-10 14:54   ` Mkrtchyan, Tigran

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=e7c1fb7d7b658782a73616670f4c072db029ac53.camel@hammerspace.com \
    --to=trondmy@hammerspace.com \
    --cc=anna.schumaker@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tigran.mkrtchyan@desy.de \
    /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