From: Olga Kornievskaia <olga.kornievskaia@gmail.com>
To: trond.myklebust@hammerspace.com, anna.schumaker@netapp.com
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH v1 0/3] modify xprt state using sysfs
Date: Thu, 3 Jun 2021 18:59:04 -0400 [thread overview]
Message-ID: <20210603225907.19981-1-olga.kornievskaia@gmail.com> (raw)
From: Olga Kornievskaia <kolga@netapp.com>
When a transport gets stuck, it is desired to be able to move the tasks
that have been stuck/queued on that transport to another. This patch
series attempts to do so. First patch, takes a transport and marks
it offline so that no more tasks are queued on it. Second,
we identify which tasks are able to be re-tried on a different
transport (only 4.1+). Lastly, once the transport is deemed bad and
in need of a removal, it's marked to be removed. Any tasks that are
stuck there will now release the transport and try picking a different
one. This transport will be removed from the list of xprts. First
transport with which the RPC client was created is considered the main
transport and can't be taken offline or removed.
Olga Kornievskaia (3):
sunrpc: take a xprt offline using sysfs
NFSv4.1 identify and mark RPC tasks that can move between transports
sunrpc: remove an offlined xprt using sysfs
fs/nfs/nfs4proc.c | 38 ++++++++++++++++++++++----
fs/nfs/pagelist.c | 8 ++++--
fs/nfs/write.c | 6 ++++-
include/linux/sunrpc/sched.h | 2 ++
include/linux/sunrpc/xprt.h | 3 +++
net/sunrpc/clnt.c | 21 +++++++++++++++
net/sunrpc/sysfs.c | 52 +++++++++++++++++++++++++++++++++---
net/sunrpc/xprtmultipath.c | 3 ++-
8 files changed, 120 insertions(+), 13 deletions(-)
--
2.27.0
next reply other threads:[~2021-06-03 22:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 22:59 Olga Kornievskaia [this message]
2021-06-03 22:59 ` [PATCH v1 1/3] sunrpc: take a xprt offline using sysfs Olga Kornievskaia
2021-06-13 16:15 ` Trond Myklebust
2021-06-15 15:06 ` Olga Kornievskaia
2021-06-15 15:54 ` Trond Myklebust
2021-06-03 22:59 ` [PATCH v1 2/3] NFSv4.1 identify and mark RPC tasks that can move between transports Olga Kornievskaia
2021-06-13 16:18 ` Trond Myklebust
2021-06-15 15:07 ` Olga Kornievskaia
2021-06-15 15:58 ` Trond Myklebust
2021-06-03 22:59 ` [PATCH v1 3/3] sunrpc: remove an offlined xprt using sysfs Olga Kornievskaia
2021-06-03 23:56 ` [PATCH v1 0/3] modify xprt state " NeilBrown
2021-06-04 0:21 ` Olga Kornievskaia
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=20210603225907.19981-1-olga.kornievskaia@gmail.com \
--to=olga.kornievskaia@gmail.com \
--cc=anna.schumaker@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@hammerspace.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 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.