xfs: Add cache for directory blocks
commit90f5f81712b93a73b55a6baf7223e100753da73c
authorPaulo Alcantara <pcacjr@zytor.com>
Tue, 22 Jan 2013 01:37:16 +0000 (21 23:37 -0200)
committerPaulo Alcantara <pcacjr@zytor.com>
Tue, 22 Jan 2013 01:53:12 +0000 (21 23:53 -0200)
treeb938accce7dead4c28e8ada3931ba669cd81287f
parente92e971550777e3170c063e348a3aab5ccaf6ff9
xfs: Add cache for directory blocks

This cache will avoid lots of malloc() and free() calls for getting an
allocated area for directory blocks whenever listing and finding
directory entries.

Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
core/fs/xfs/xfs.c
core/fs/xfs/xfs.h
core/fs/xfs/xfs_dir2.c
core/fs/xfs/xfs_dir2.h
core/fs/xfs/xfs_readdir.c