]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7871a3c305a5bfc9804082dd94312a5efe367cfa
tree04e352c8e96e462ebd8a0a7e1e9f1acae6ff95fa
parent6e6abf8eae450070bca633cfdb4b8b57ff478d9a
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