All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nilfs2: improve inode allocation algorithm
@ 2014-10-12 10:38 Andreas Rohner
       [not found] ` <1413110303-14246-1-git-send-email-andreas.rohner-hi6Y0CQ0nG0@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Rohner @ 2014-10-12 10:38 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Andreas Rohner

Hi,

The algorithm simply makes sure, that after a directory inode there are
a certain number of free slots available and the search for file inodes
is started at their parent directory.

I havn't had the time yet to do a full scale performance test of it, but 
my simple preliminary tests have shown, that the allocation of inodes 
takes a little bit longer and the lookup is a little bit faster. My 
simple test just creates 1500 directories and after that creates 10 
files in each directory.

So more testing is definetly necessary, but I wanted to get some 
feedback about the design first. Is my code a step in the right 
direction?

Best regards,
Andreas Rohner

Andreas Rohner (2):
  nilfs2: support the allocation of whole blocks of meta data entries
  nilfs2: improve inode allocation algorithm

 fs/nilfs2/alloc.c   | 161 ++++++++++++++++++++++++++++++++++++++++++++++++----
 fs/nilfs2/alloc.h   |  18 +++++-
 fs/nilfs2/ifile.c   |  63 ++++++++++++++++++--
 fs/nilfs2/ifile.h   |   6 +-
 fs/nilfs2/inode.c   |   6 +-
 fs/nilfs2/segment.c |   5 +-
 6 files changed, 235 insertions(+), 24 deletions(-)

-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-13 16:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-12 10:38 [PATCH 0/2] nilfs2: improve inode allocation algorithm Andreas Rohner
     [not found] ` <1413110303-14246-1-git-send-email-andreas.rohner-hi6Y0CQ0nG0@public.gmane.org>
2014-10-12 10:38   ` [PATCH 1/2] nilfs2: support the allocation of whole blocks of meta data entries Andreas Rohner
2014-10-12 10:38   ` [PATCH 2/2] nilfs2: improve inode allocation algorithm Andreas Rohner
2014-10-13 14:52   ` [PATCH 0/2] " Ryusuke Konishi
     [not found]     ` <20141013.235259.2281467595116868273.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2014-10-13 15:34       ` Ryusuke Konishi
2014-10-13 16:18       ` Andreas Rohner

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.