summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extent_busy.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-04-22 23:11:51 +0200
committerDave Chinner <david@fromorbit.com>2014-04-22 23:11:51 +0200
commit22328d712dd7fdc984d17da2121be840d1f844cd (patch)
tree678de2634238b10bfcbf72f1ded34faee9919f32 /fs/xfs/xfs_extent_busy.h
parentxfs: handle duplicate entries in xfs_mru_cache_insert (diff)
downloadlinux-22328d712dd7fdc984d17da2121be840d1f844cd.tar.xz
linux-22328d712dd7fdc984d17da2121be840d1f844cd.zip
xfs: embedd mru_elem into parent structure
There is no need to do a separate allocation for each mru element, just embedd the structure into the parent one in the user. Besides saving a memory allocation and the infrastructure required for it this also simplifies the API. While we do major surgery on xfs_mru_cache.c also de-typedef it and make struct mru_cache private to the implementation file. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_extent_busy.h')
0 files changed, 0 insertions, 0 deletions