Re: ext4 superblock last write time clearly isnt the last write time

From: Andi Kleen
Date: Thu Feb 23 2012 - 17:01:18 EST


Neil Clarkson <neilaclarkson@xxxxxxxxx> writes:

> Isn't the s_wtime field of the ext4 superblock supposed to show the
> time, in seconds since the epoch, of the last write to the file
> system?

Last write to the super block. Obviously last write to the file system
would be incredible expensive: every write to the file system would
cause a super block write too, doubling all write IO.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/