Re: Horrible btrfs performance due to fragmentation

From: Gregory Maxwell
Date: Mon Nov 01 2010 - 12:09:51 EST


On Mon, Nov 1, 2010 at 11:58 AM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
> Or when going through all the fragments of a file, have a counter, and
> if it exceeds certain limit mark it somehow, so that it gets
> defragmented at least to a certain extent.

Thats elegant, â then resources are only spent on defragmenting files
which are actually in use and which actually need it... but I don't
see how it deals with the partial mutual exclusivity of defragmenting
and COWed files.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/