Thread (19 messages) 19 messages, 6 authors, 2017-07-26

Re: bcache with existing ext4 filesystem

From: Pavel Machek <hidden>
Date: 2017-07-25 20:55:33
Also in: linux-ext4, lkml

On Tue 2017-07-25 14:02:25, Theodore Ts'o wrote:
On Tue, Jul 25, 2017 at 03:46:04PM +0200, Pavel Machek wrote:
quoted
Is there some field in ext2 superblock that changes every time
filesystem is changed? Is mtime changed by fsck/badblocks/...?
No, there isn't.  If we were writing the superblock every time the
file system is changed it would be ***extremely*** flash unfriendly.
It would also be a scalability bottleneck, it would cause us to pay an
extra HDD seek, etc.  So it's a really bad Bad BAD idea, and so we
don't do it.
Ok, I did not mean "every time" when I said "every time". That would
be too heavy.

I mean... is there something changed by the regular mount (like mtime)
plus by operations like fsck and badblocks?

In particular, does fsck change mtime when it writes to the
filesystem?

Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help