xfs: Introduce tr_fsyncts to m_reservation
commit20996c932603b34fc82b8c8cd00f3ded83982f7b
authorJie Liu <jeff.liu@oracle.com>
Mon, 12 Aug 2013 10:49:57 +0000 (12 20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 22:46:29 +0000 (12 17:46 -0500)
tree995cd6990171b8b791b666edfb731de25348e4bc
parent0eadd1028858b193ce8cdc36bf443d39b42141ca
xfs: Introduce tr_fsyncts to m_reservation

A preparation step.

For now fsync_ts transaction use the pre-calculated log reservation
size of tr_swrite.  This patch introduce a new item tr_fsyncts to
mp->m_reservations structure so that we can fetch the log
reservation value for it in a same manner to others.

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_trans_resv.c
fs/xfs/xfs_trans_resv.h