From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 0/2 v2] positional readdir cookies
Date: Thu, 3 Dec 2015 09:41:00 -0500 (EST) [thread overview]
Message-ID: <1695935575.26798552.1449153660618.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1449115359-26484-1-git-send-email-bmarzins@redhat.com>
----- Original Message -----
> These two patches implement positional readdir cookies. The first one simply
> changes how splitting leaf blocks works to allow for this method to work. The
> second one does the meat of the work.
>
> Like I mention in the second patch, this adds a new parameter to the dirent
> structure that is never saved to disk. This is simply to make use of the
> memory to store the computed location based cookie. Avoiding this has a
> noticeable performance impact. However, I'm open to any ideas on how to make
> this look less strange (or, any other ways of getting space to store these
> values that doesn't involve allocating it, which caused the performance hit).
>
> This set is the same as my last set but the ar_loccookie flag in gfs2_args,
> is now a single bit, instead of a whole unsigned int.
>
> Benjamin Marzinski (2):
> gfs2: keep offset when splitting dir leaf blocks
> gfs2: change gfs2 readdir cookie
>
> fs/gfs2/dir.c | 160
> ++++++++++++++++++++++++++++++---------
> fs/gfs2/incore.h | 3 +
> fs/gfs2/ops_fstype.c | 3 +
> fs/gfs2/super.c | 12 +++
> include/uapi/linux/gfs2_ondisk.h | 9 ++-
> 5 files changed, 148 insertions(+), 39 deletions(-)
>
> --
> 1.8.3.1
>
>
Hi,
Thanks. These patches are now applied to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=47378d02fb9931f54c5812ec1ac2fb94e5d403a7
https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=83bdc7b7b08430fad8ced9cbe498d06591521c9c
Regards,
Bob Peterson
Red Hat File Systems
prev parent reply other threads:[~2015-12-03 14:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 4:02 [Cluster-devel] [PATCH 0/2 v2] positional readdir cookies Benjamin Marzinski
2015-12-03 4:02 ` [Cluster-devel] [PATCH 1/2 v2] gfs2: keep offset when splitting dir leaf blocks Benjamin Marzinski
2015-12-03 4:02 ` [Cluster-devel] [PATCH 2/2 v2] gfs2: change gfs2 readdir cookie Benjamin Marzinski
2015-12-03 14:41 ` Bob Peterson [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=1695935575.26798552.1449153660618.JavaMail.zimbra@redhat.com \
--to=rpeterso@redhat.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;
as well as URLs for NNTP newsgroup(s).