xfs
[Top] [All Lists]

Re: [PATCH] xfs: inode log reservations are too small

To: linux-xfs@xxxxxxxxxxx
Subject: Re: [PATCH] xfs: inode log reservations are too small
From: Chris Dunlop <chris@xxxxxxxxxxxx>
Date: Thu, 29 Aug 2013 08:20:29 +0000 (UTC)
Delivered-to: linux-xfs@xxxxxxxxxxx
References: <1377670235-4168-1-git-send-email-david@xxxxxxxxxxxxx>
Reply-to: chris@xxxxxxxxxxxx
User-agent: slrn/pre1.0.0-18 (Linux)
On 2013-08-28, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
>
> 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

<Prev in Thread] Current Thread [Next in Thread>