xfs: Inode create transaction reservations
authorDave Chinner <david@fromorbit.com>
Thu, 27 Jun 2013 06:04:54 +0000 (16:04 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 27 Jun 2013 18:36:37 +0000 (13:36 -0500)
commitb8402b4729495ac719a3f532c2e33ac653b222a8
tree04e352c8e96e462ebd8a0a7e1e9f1acae6ff95fa
parent3ebe7d2d73179c4874aee4f32e043eb5acd9fa0f
xfs: Inode create transaction reservations

Define the log and space transaction sizes. Factor the current
create log reservation macro into the two logical halves and reuse
one half for the new icreate transactions. The icreate transaction
is transparent to all the high level create code - the
pre-calculated reservations will correctly set the reservations
dependent on whether the filesystem supports the icreate
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/xfs_trans.c