From: Jeff Layton <jeff.layton@primarydata.com>
To: Peng Tao <tao.peng@primarydata.com>
Cc: linux-nfs <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 00/11] pnfs/flexfiles: layoutstats support
Date: Thu, 18 Jun 2015 16:17:27 -0400 [thread overview]
Message-ID: <20150618161727.1b4e287f@tlielax.poochiereds.net> (raw)
In-Reply-To: <1434466052-10491-1-git-send-email-tao.peng@primarydata.com>
On Tue, 16 Jun 2015 22:47:21 +0800
Peng Tao <tao.peng@primarydata.com> wrote:
> Hi all,
>
> The patchsets add LAYOUTSTATS support to flexfiles. LAYOUTSTATS are sent
> every minute if IO is still happening upon a file.
>
> One limitation is that at most 4 LAYOUTSTATS calls are permitted in a compound.
> Had to send multiple LAYOUTSTATS operations per compound because OP_LAYOUTSTATS
> requires stateid and deviceid as its arguments, which makes it a per-file per-deviceid
> call.
>
So what happens if there are more than 4 mirrors? Do you send more
LAYOUTSTATS rpcs or do the other ones get left out? I couldn't quite
tell that from looking over the code...
> Cheers,
> Tao
>
> Peng Tao (8):
> pNFS: fill in nfs42_layoutstat_ops
> pnfs: add pnfs_report_layoutstat helper function
> pNFS/flexfiles: track when layout is first used
> pnfs/flexfiles: add ff_layout_prepare_layoutstats
> pnfs/flexfiles: encode LAYOUTSTATS flexfiles specific data
> pnfs/flexfiles: reset IO statistics upon LAYOUTSTATS success
> nfs42: serialize LAYOUTSTATS calls of the same file
> pnfs/flexfiles: report layoutstat regularly
>
> Trond Myklebust (3):
> NFSv.2/pnfs Add a LAYOUTSTATS rpc function
> pNFS/flexfiles: Remove unused struct members user_name, group_name
> pNFS/flexfiles: add layoutstats tracking
>
> fs/nfs/flexfilelayout/flexfilelayout.c | 448 ++++++++++++++++++++++++++++++++-
> fs/nfs/flexfilelayout/flexfilelayout.h | 30 ++-
> fs/nfs/nfs42.h | 7 +-
> fs/nfs/nfs42proc.c | 81 ++++++
> fs/nfs/nfs42xdr.c | 122 +++++++++
> fs/nfs/nfs4_fs.h | 1 +
> fs/nfs/nfs4proc.c | 4 +-
> fs/nfs/nfs4xdr.c | 1 +
> fs/nfs/pnfs.c | 56 +++++
> fs/nfs/pnfs.h | 3 +
> include/linux/nfs4.h | 1 +
> include/linux/nfs_fs.h | 1 +
> include/linux/nfs_xdr.h | 43 ++++
> 13 files changed, 782 insertions(+), 16 deletions(-)
>
Nice work, Tao. This looks pretty good to me. I had a couple of
nitpicky comments, but that's stuff that can wait unless you need to
respin for other reasons.
You can add my:
Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
next prev parent reply other threads:[~2015-06-18 20:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-16 14:47 [PATCH 00/11] pnfs/flexfiles: layoutstats support Peng Tao
2015-06-16 14:47 ` [PATCH 01/11] NFSv.2/pnfs Add a LAYOUTSTATS rpc function Peng Tao
2015-06-18 20:14 ` Jeff Layton
2015-06-16 14:47 ` [PATCH 02/11] pNFS: fill in nfs42_layoutstat_ops Peng Tao
2015-06-16 14:47 ` [PATCH 03/11] pnfs: add pnfs_report_layoutstat helper function Peng Tao
2015-06-16 14:47 ` [PATCH 04/11] pNFS/flexfiles: Remove unused struct members user_name, group_name Peng Tao
2015-06-16 14:47 ` [PATCH 05/11] pNFS/flexfiles: add layoutstats tracking Peng Tao
2015-06-16 14:47 ` [PATCH 06/11] pNFS/flexfiles: track when layout is first used Peng Tao
2015-06-18 16:30 ` Jeff Layton
2015-06-16 14:47 ` [PATCH 07/11] pnfs/flexfiles: add ff_layout_prepare_layoutstats Peng Tao
2015-06-16 14:47 ` [PATCH 08/11] pnfs/flexfiles: encode LAYOUTSTATS flexfiles specific data Peng Tao
2015-06-16 14:47 ` [PATCH 09/11] pnfs/flexfiles: reset IO statistics upon LAYOUTSTATS success Peng Tao
2015-06-16 14:47 ` [PATCH 10/11] nfs42: serialize LAYOUTSTATS calls of the same file Peng Tao
2015-06-16 14:47 ` [PATCH 11/11] pnfs/flexfiles: report layoutstat regularly Peng Tao
2015-06-18 20:17 ` Jeff Layton [this message]
2015-06-19 1:47 ` [PATCH 00/11] pnfs/flexfiles: layoutstats support 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=20150618161727.1b4e287f@tlielax.poochiereds.net \
--to=jeff.layton@primarydata.com \
--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