]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Introduce a new structure to hold transaction reservation items
authorDave Chinner <dchinner@redhat.com>
Wed, 4 Sep 2013 22:05:45 +0000 (22:05 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 16 Sep 2013 20:14:45 +0000 (15:14 -0500)
commitcf52c7303dd3cd88432dfebe727051290c1bdbb6
tree8cf4accb759234bad33c27799613aa33ed3a0e93
parentd43bc409a839ce5f25687f5dfddf4f92da5f1357
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: Rich Johnston <rjohnston@sgi.com>
include/libxfs.h
include/xfs_trans_resv.h
libxfs/trans.c
libxfs/xfs_trans_resv.c
mkfs/maxtrres.c