]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6295dffbad3685005e9e07d0385423cc0065fd00
tree39bf0b8fac593d4051ebfbc7011a26423a8f90a4
parent567efdfa1641cc5a0f9de98f407565875ecb63dc
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