Re: statistics of filesystem-journal usage

From: Kalpak Shah
Date: Fri May 11 2007 - 10:21:22 EST


On Fri, 2007-05-11 at 16:00 +0200, Folkert van Heusden wrote:
> Hi,
>
> Maybe it is a nice idea to export statistics on the usage of a journal
> of a filesystem as well. That way one can more easy see if it would help
> to put a journal on an other harddisk.

There is a patch posted on linux-ext4 which maintains the journal
statistics such as transaction sizes and their lifetimes. These stats
are provided through procfs and can only be used with ext4 since ext2/3
still use the jbd layer.

You can see the patch here:
http://lists.openwall.net/linux-ext4/2007/04/02/6

- Kalpak.
>
>
> Folkert van Heusden
>

-
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/