[PATCH] xfs: inode log reservations are too small

Chris Dunlop chris at onthe.net.au
Thu Aug 29 03:20:29 CDT 2013


On 2013-08-28, Dave Chinner <david at fromorbit.com> wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> We've been seeing occasional problems with log space leaks and
> transaction underruns such as this for some time:

[ snip]

> diff --git a/fs/xfs/xfs_trans_resv.c b/fs/xfs/xfs_trans_resv.c
> index 24110f3..69bcba2 100644
> --- a/fs/xfs/xfs_trans_resv.c
> +++ b/fs/xfs/xfs_trans_resv.c
> @@ -73,6 +73,39 @@ xfs_calc_buf_res(
>  }
>  
>  /*
> + * Logging inodes is really tricksy. They are logged in memory format,
> + * which means that what we write into the log doesn't directory translate into

directory => directly

Chris



More information about the xfs mailing list