[PATCH 44/55] xfs: refactor xfs_trans_reserve() interface

Mark Tinguely tinguely at sgi.com
Fri Sep 6 13:21:30 CDT 2013


On 09/04/13 17:05, Dave Chinner wrote:
> From: Jie Liu<jeff.liu at oracle.com>
>
> With the new xfs_trans_res structure has been introduced, the log
> reservation size, log count as well as log flags are pre-initialized
> at mount time.  So it's time to refine xfs_trans_reserve() interface
> to be more neat.
>
> Also, introduce a new helper M_RES() to return a pointer to the
> mp->m_resv structure to simplify the input.
>
> Signed-off-by: Jie Liu<jeff.liu at oracle.com>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
> ---

Already reviewed in other posting.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list