LWN.net Logo

Barriers and journaling filesystems

Barriers and journaling filesystems

Posted May 25, 2008 6:40 UTC (Sun) by giraffedata (subscriber, #1954)
In reply to: Barriers and journaling filesystems by dlang
Parent article: Barriers and journaling filesystems

Whether it writes the whole track doesn't matter. It's the order in which it writes the blocks. Does it wait for the beginning of the track to come around and write from start to finish (average time - 1.5 revolutions)? Or does it write starting now (average time 1 revolution)? I presume it's the latter.

Nobody's said anything about ext3 knowing where the blocks are physically, so I don't know why you bring that up. The article just says ext3 updates the journal in logical block number order and suggests that means they tend to go the platter in the same order.

And I've been saying I don't believe that.


(Log in to post comments)

Barriers and journaling filesystems

Posted May 25, 2008 10:53 UTC (Sun) by dlang (✭ supporter ✭, #313) [Link]

I misunderstood what you were saying. I thought that you were saying that if the entire
journal was on the same track it would get written all at once, even if it wrapped over the
end of the journal.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds