[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1179799685.5779.7.camel@eric-laptop>
Date: Mon, 21 May 2007 19:08:05 -0700
From: Eric <erpo41@...il.com>
To: linux-ext4 <linux-ext4@...r.kernel.org>
Subject: SOLVED: Re: files mapped funny? (related to online defragmentation)
> > I'm getting strange results when I map out the blocks used in files
> > larger than a several thousand KB. I never seem to get any more than
> > 1024 contiguous data blocks in a row.
> >
> filefrag command comes with e2fsprogs will print the file fragmentation
> info. I guess you can try filefrag -v command and see if that matches
> what your scripts reported.
Thanks for the pointer. It seems my program only counts data blocks, so
it sees the indirect block for each 1024 data blocks as a space between
extents. I will have to read the filefrag source and account for that.
Cheers,
Eric
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists