xfs
[Top] [All Lists]

Re: [PATCH 04/24] xfs: refcount btree add more reserved blocks

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 04/24] xfs: refcount btree add more reserved blocks
From: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Date: Thu, 30 Jul 2015 12:09:07 -0700
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20150730003517.GH16638@dastard>
References: <20150729223258.17414.91354.stgit@xxxxxxxxxxxxxxxx> <20150729223324.17414.85659.stgit@xxxxxxxxxxxxxxxx> <20150730003517.GH16638@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jul 30, 2015 at 10:35:17AM +1000, Dave Chinner wrote:
> On Wed, Jul 29, 2015 at 03:33:24PM -0700, Darrick J. Wong wrote:
> > Since XFS reserves a small amount of space in each AG as the minimum
> > free space needed for an operation, save some more space in case we
> > touch the refcount btree.
> > 
> > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> > ---
> >  fs/xfs/libxfs/xfs_alloc.c  |   13 +++++++++++++
> >  fs/xfs/libxfs/xfs_format.h |    2 ++
> >  2 files changed, 15 insertions(+)
> > 
> > 
> > diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c
> > index 40e8129..cb6b3d9 100644
> > --- a/fs/xfs/libxfs/xfs_alloc.c
> > +++ b/fs/xfs/libxfs/xfs_alloc.c
> > @@ -50,10 +50,23 @@ STATIC int xfs_alloc_ag_vextent_size(xfs_alloc_arg_t *);
> >  STATIC int xfs_alloc_ag_vextent_small(xfs_alloc_arg_t *,
> >             xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
> >  
> > +unsigned int
> > +XFS_REFC_BLOCK(
> 
> No need to shout for functions.

OK, er, ok. :)

--D

> 
> Cheers,
> 
> Dave.
> -- 
> Dave Chinner
> david@xxxxxxxxxxxxx
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

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