xfs
[Top] [All Lists]

Re: How to reserve disk space in XFS to make the blocks over many files

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: How to reserve disk space in XFS to make the blocks over many files continuous?
From: Roger Willcocks <roger@xxxxxxxxxxxxxxxx>
Date: Fri, 09 Nov 2012 15:03:21 +0000
Cc: huubby zhou <huubby1@xxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20121107031952.GA6434@dastard>
References: <CANS6a=D4SMMqhGJVMLbr-BWqLb-Z4L4LnofzfhqChBvE9dEtPQ@xxxxxxxxxxxxxx> <20121107031952.GA6434@dastard>
> > My question is, how can I guarantee the file system blocks over files
> > continuous? Thanks for your time and appreciate your answer.
> 
> You can't, directly. 

We needed to do this so I added code to swapext to support transferring
leading blocks from one (preallocated single extent) file to another
empty file. It's pretty straightforward but perhaps too special case for
general consumption.

-- 
Roger Willcocks <roger@xxxxxxxxxxxxxxxx>

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