xfs: Introduce a new structure to hold transaction reservation items
authorJie Liu <jeff.liu@oracle.com>
Mon, 12 Aug 2013 10:49:56 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 22:45:49 +0000 (17:45 -0500)
commit0eadd1028858b193ce8cdc36bf443d39b42141ca
tree22f1624807ae9a75cc7adaf16a607e1f88ac0dd8
parent9356fe22af084e7b9c1f3c8633a1cbe9b36de405
xfs: Introduce a new structure to hold transaction reservation items

Introduce a new structure xfs_trans_res to hold transaction
reservation item info per log ticket.

We also need to improve xfs_trans_resv_calc() by initializing the
log count as well as log flags for permanent log reservation.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans_resv.c
fs/xfs/xfs_trans_resv.h
This page took 0.037219 seconds and 5 git commands to generate.