lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 2 Mar 2012 21:35:33 +0000
From:	Neil Clarkson <neilaclarkson@...il.com>
To:	"Ted Ts'o" <tytso@....edu>,
	Neil Clarkson <neilaclarkson@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: ext4 bug? last write time precedes last mount time on a writable volume!

Thanks for responding Ted.

That would all make sense, if it weren't for the last write time on
the Ubuntu box being earlier than the last mount time, when clearly
the superblock *must* have got modified. Clearly that isn't what
Ubuntu is doing with it. But I guess, given that Ubuntu is different
from OpenSuse and Fedora in this regard, perhaps that's just something
Canonical have changed, intentionally or otherwise.

Andi Kleen was right then, when he offered much the same explanation
to me last week on the list.

> Is there a reason why you particularly care about s_wtime being updated?

Yes and no ;)

It was interesting to me when it seemed like it might be a way to find
the time of the last write to the file system, bugs notwithstanding. A
few public domain info sources suggest this is what it is. I could
have made good use of that in some work I'm doing. But if its not
meant to do that, which certainly makes sense from a performance
perspective, then no.


On 2 March 2012 20:45, Ted Ts'o <tytso@....edu> wrote:

> It shows the last time the superblock has been modified, and one of
> the things that we've been doing lately has been to optimize ext4 so
> that it writes to the superblock *much* less often.  It was a
> performance bottleneck to be constantly updating the number of free
> blocks in the superblock each time we write to a new block, for
> example --- or update the superblock to update the number of free
> inodes each time we allocate a new inode.
>
> Is there a reason why you particularly care about s_wtime being
> updated?
>
>                                        - Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ