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)
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

Simple merge
Simple merge
Simple merge
Simple merge