From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Marzinski Date: Tue, 1 Dec 2015 00:10:16 -0600 Subject: [Cluster-devel] [PATCH 0/2] positional readdir cookies Message-ID: <1448950218-10399-1-git-send-email-bmarzins@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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). 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