diff options
author | Jie Liu <jeff.liu@oracle.com> | 2013-08-12 20:50:01 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 17:49:02 -0500 |
commit | e773fc934fcbe2536dc625c2bd76234b9b9a60b6 (patch) | |
tree | 25faa59058c2c6168bc3b61392c0a356b8c3b798 /fs/xfs/xfs_log_rlimit.c | |
parent | f749278c5a45e8a80f3e3ca41d4634b84948b9d9 (diff) |
xfs: Refactor xfs_ticket_alloc() to extract a new helper
Refactor xlog_ticket_alloc() to extract a new helper, i.e.
xfs_log_calc_unit_res().
This helper would be used to calculate the total log reservation
size by adding extra log operation/transation headers for a new
log ticket.
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>
Diffstat (limited to 'fs/xfs/xfs_log_rlimit.c')
0 files changed, 0 insertions, 0 deletions