[PATCH] jbd2 stats through procfs

2007-04-02 Thread Johann Lombardi
Hi all, The patch below updates the jbd stats patch to 2.6.20/jbd2. The initial patch was posted by Alex Tomas in December 2005 (http://marc.info/?l=linux-ext4m=113538565128617w=2). It provides statistics via procfs such as transaction lifetime and size. Johann Signed-off-by: Johann Lombardi

Re: Ext4 benchmarks

2007-03-30 Thread Johann Lombardi
On Wed, Mar 28, 2007 at 09:20:50AM -0500, Jose R. Santos wrote: While it may be to late for the purposes of your OLS paper, one thing that doesn't seem to be getting much attention is the performance of a file system while doing many meta-data operations or throughput testing during heavy

Re: [PATCH Take2 1/1] Nanosecond timestamps

2007-02-19 Thread Johann Lombardi
On Tue, Feb 13, 2007 at 06:46:44PM +0530, Kalpak Shah wrote: Index: linux-2.6.20/fs/ext4/inode.c === --- linux-2.6.20.orig/fs/ext4/inode.c +++ linux-2.6.20/fs/ext4/inode.c @@ -2676,10 +2676,11 @@ void ext4_read_inode(struct inode

Re: [RFC] [PATCH 1/1] Nanosecond timestamps

2007-02-08 Thread Johann Lombardi
On Wed, Feb 07, 2007 at 01:39:46PM -0700, Andreas Dilger wrote: This has been a bug in several places already, and I wonder if the le*_to_cpu() and cpu_to_le*() macros shouldn't do some type checking instead of just casting the variable to the specified type? That would be great. The only

Re: [RFC] [PATCH 1/1] Nanosecond timestamps

2007-02-08 Thread Johann Lombardi
On Wed, Feb 07, 2007 at 03:05:39PM -0600, Dave Kleikamp wrote: On Wed, 2007-02-07 at 13:39 -0700, Andreas Dilger wrote: You are right - this works fine on little endian systems, but fails on big endian systems where you will get the other half of the word. This has been a bug in several

Re: [RFC] [PATCH 1/1] Nanosecond timestamps

2007-02-07 Thread Johann Lombardi
On Fri, Feb 02, 2007 at 08:19:50PM +0530, Kalpak Shah wrote: +#define EXT3_INODE_SET_XTIME(xtime, extra_xtime, inode, raw_inode) \ +do { \ + (raw_inode)-xtime = cpu_to_le32((inode)-xtime.tv_sec); \ + \ + if (offsetof(typeof(*raw_inode), extra_xtime) - \ +

Re: [RFC] [PATCH 1/1] Nanosecond timestamps

2007-02-06 Thread Johann Lombardi
On Fri, Feb 02, 2007 at 08:19:50PM +0530, Kalpak Shah wrote: Index: linux-2.6.19/fs/ext3/super.c === --- linux-2.6.19.orig/fs/ext3/super.c +++ linux-2.6.19/fs/ext3/super.c @@ -1770,6 +1772,32 @@ static int ext3_fill_super (struct