Excerpts from Chester's message of 2011-10-12 00:14:21 -0400:
> On Tue, Oct 11, 2011 at 9:37 PM, Li Zefan wrote:
> >
> >
> > This confirmed my speculation. I've fixed this bug a month ago, but
> > the patch hasn't hitted mainline.
> >
> > You can try it out:
> >
> > http://marc.info/?l=linux-btrfs
On Tue, Oct 11, 2011 at 9:37 PM, Li Zefan wrote:
>
>
> This confirmed my speculation. I've fixed this bug a month ago, but
> the patch hasn't hitted mainline.
>
> You can try it out:
>
> http://marc.info/?l=linux-btrfs&m=131495014823121&w=2
>
> With this bug fixed, I think autodefrag won't be prob
05:15, Chester wrote:
> Okay, this pretty much confirms that autodefrag makes defrag totally
> useless.. The above email was with autodefrag turned off..
>
> With autodefrag on:
> 339 MB file
> initially 4 extents
>
> btrfs fi defrag filename
> filefrag filename
>
> about 900 extents
>
> I did
On Tue, Oct 11, 2011 at 1:19 AM, Li Zefan wrote:
> Was any process doing heavy I/O work while you were defragging the file?
>
> Could you try to remount the fs without autodefrag, and defrag
> the file again? Firstly let's see if autodefrag makes things worse.
>
As far as I can tell, autodefrag s
Chester wrote:
> Kernel 3.1-rc8
> btrfs-progs-0.19
> mount options: noatime,autodefrag (space_cache is enabled)
> There are snapshots present on the filesystem.
>
> When I do a btrfs fi defrag on a file, the file becomes much more
> fragmented. The end result can be a file with 20k times more frag
Kernel 3.1-rc8
btrfs-progs-0.19
mount options: noatime,autodefrag (space_cache is enabled)
There are snapshots present on the filesystem.
When I do a btrfs fi defrag on a file, the file becomes much more
fragmented. The end result can be a file with 20k times more fragments
than before. Initially
On Friday 10 June 2011 01:53:41 David Sterba wrote:
> On Fri, Jun 10, 2011 at 12:48:36AM +0200, Johannes Hirte wrote:
> > I've observed several times that after a btrfs filesystem defrag a file
> > was way more fragmented than before. For example, a file that was
> > recently written, had 10 extent
On Fri, Jun 10, 2011 at 12:48:36AM +0200, Johannes Hirte wrote:
> I've observed several times that after a btrfs filesystem defrag a file was
> way
> more fragmented than before. For example, a file that was recently written,
> had
> 10 extents (output from filefrag). After a defrag filefrag sh
I've observed several times that after a btrfs filesystem defrag a file was way
more fragmented than before. For example, a file that was recently written, had
10 extents (output from filefrag). After a defrag filefrag showed more than
1900
extents. For curiosity, a simple copy of this "defragm