xfs
[Top] [All Lists]

Re: how to free a used ag?

To: Markus Lidel <Markus.Lidel@xxxxxxxxxxxxxxxxx>
Subject: Re: how to free a used ag?
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 17 Aug 2004 16:25:40 +0100
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <4121C89B.2000507@xxxxxxxxxxxxxxxxx>; from Markus.Lidel@xxxxxxxxxxxxxxxxx on Tue, Aug 17, 2004 at 10:58:03AM +0200
References: <412136CC.5070708@xxxxxxxxxxxxxxxxx> <20040816235405.A16123@xxxxxxxxxxxxx> <4121C89B.2000507@xxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
> >>2. how could i easily copy the inode to a free space outside the current
> >>    agi (i thought of setting pag.pagf_freeblks, pag.pagf_flcount,
> >>    pag.pagf_longest to 0).
> > You could try by marking the AG unavailable to the allocator and use
> > xfs_swapext()
> 
> Is it enough to set the pag values descirbed above to 0 or is there 
> anything else to do?

I'm not sure, Glen probably knows the allocator much better than I do.


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