xfs: Inode create log items
authorDave Chinner <david@fromorbit.com>
Thu, 27 Jun 2013 06:04:53 +0000 (16:04 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 27 Jun 2013 18:34:12 +0000 (13:34 -0500)
commit3ebe7d2d73179c4874aee4f32e043eb5acd9fa0f
tree39bf0b8fac593d4051ebfbc7011a26423a8f90a4
parent5f6bed76c0c85cb4d04885a5de00b629deee550b
xfs: Inode create log items

Introduce the inode create log item type for logical inode create logging.
Instead of logging the changes in buffers, pass the range to be
initialised through the log by a new transaction type.  This reduces
the amount of log space required to record initialisation during
allocation from about 128 bytes per inode to a small fixed amount
per inode extent to be initialised.

This requires a new log item type to track it through the log
and the AIL. This is a relatively simple item - most callbacks are
noops as this item has the same life cycle as the transaction.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/Makefile
fs/xfs/xfs_icreate_item.c [new file with mode: 0644]
fs/xfs/xfs_icreate_item.h [new file with mode: 0644]
fs/xfs/xfs_log.h
fs/xfs/xfs_super.c
fs/xfs/xfs_trans.h
This page took 0.029681 seconds and 5 git commands to generate.