nilfs2: improve inode allocation algorithm
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nilfs2: support the allocation of whole blocks of meta data entriesfs/ fs/ | +166 | 0 replies | |
| 2/2 | nilfs2: improve inode allocation algorithmfs/ fs/ fs/ +1 more | +69 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] nilfs2: improve inode allocation algorithm
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(-)
Signature · 6 lines
2.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html