All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@primarydata.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 00/10] Add layoutstats to the flexfiles layoutreturn
Date: Sat,  3 Dec 2016 15:57:15 -0500	[thread overview]
Message-ID: <20161203205725.12961-1-trond.myklebust@primarydata.com> (raw)

The following patchset applies on top of my current linux-next branch,
and contains updates to allow the client to piggyback layoutstats in
the flexfiles layoutreturn (as per spec).
This is mainly useful when running workloads that do I/O on lots of
small or medium sized files, which are rarely kept open for long
enough to send a standalone layoutstat.

Trond Myklebust (10):
  pNFS/flexfiles: Don't attempt to send layoutstats if there are no
    entries
  pNFS/flexfiles: Only send layoutstats updates for mirrors that were
    updated
  NFSv4: Add a generic structure for managing layout-private information
  pNFS: Allow layout drivers to manage private data in struct
    nfs4_layoutreturn
  pNFS: Add a layoutreturn callback to performa layout-private setup
  pNFS/flexfiles: Refactor encoding of the layoutreturn payload
  pNFS/flexfiles: Clean up layoutstats
  NFS: Fix up read of mirror stats
  pNFS/flexfiles: Minor refactoring before adding iostats to
    layoutreturn
  pNFS/flexfiles: Support sending layoutstats in layoutreturn

 fs/nfs/flexfilelayout/flexfilelayout.c    | 236 ++++++++++++++++++++++--------
 fs/nfs/flexfilelayout/flexfilelayout.h    |  20 ++-
 fs/nfs/flexfilelayout/flexfilelayoutdev.c |  78 ++++++++--
 fs/nfs/nfs42proc.c                        |   9 +-
 fs/nfs/nfs42xdr.c                         |   5 +-
 fs/nfs/nfs4proc.c                         |   6 +
 fs/nfs/nfs4xdr.c                          |   4 +-
 fs/nfs/pnfs.c                             |  15 +-
 fs/nfs/pnfs.h                             |   2 +-
 include/linux/nfs_xdr.h                   |  19 ++-
 10 files changed, 306 insertions(+), 88 deletions(-)

-- 
2.9.3


             reply	other threads:[~2016-12-03 20:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03 20:57 Trond Myklebust [this message]
2016-12-03 20:57 ` [PATCH 01/10] pNFS/flexfiles: Don't attempt to send layoutstats if there are no entries Trond Myklebust
2016-12-03 20:57   ` [PATCH 02/10] pNFS/flexfiles: Only send layoutstats updates for mirrors that were updated Trond Myklebust
2016-12-03 20:57     ` [PATCH 03/10] NFSv4: Add a generic structure for managing layout-private information Trond Myklebust
2016-12-03 20:57       ` [PATCH 04/10] pNFS: Allow layout drivers to manage private data in struct nfs4_layoutreturn Trond Myklebust
2016-12-03 20:57         ` [PATCH 05/10] pNFS: Add a layoutreturn callback to performa layout-private setup Trond Myklebust
2016-12-03 20:57           ` [PATCH 06/10] pNFS/flexfiles: Refactor encoding of the layoutreturn payload Trond Myklebust
2016-12-03 20:57             ` [PATCH 07/10] pNFS/flexfiles: Clean up layoutstats Trond Myklebust
2016-12-03 20:57               ` [PATCH 08/10] NFS: Fix up read of mirror stats Trond Myklebust
2016-12-03 20:57                 ` [PATCH 09/10] pNFS/flexfiles: Minor refactoring before adding iostats to layoutreturn Trond Myklebust
2016-12-03 20:57                   ` [PATCH 10/10] pNFS/flexfiles: Support sending layoutstats in layoutreturn Trond Myklebust

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=20161203205725.12961-1-trond.myklebust@primarydata.com \
    --to=trond.myklebust@primarydata.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.