linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Writing one file, observing two writes
@ 2014-04-13 15:49 Sebastian Biedermann
  2014-04-13 19:03 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Biedermann @ 2014-04-13 15:49 UTC (permalink / raw)
  To: linux-ext4

Dear ext4 developers,

I'm working on a research project about side channel attacks to hard drives.
My testbed runs Ubuntu Linux 12.04 with ext4 file system.

When writing a random file with dd command to my hard drive, I could see
the process jbd2/sda1
writing two times while it seems to wait a fixed period of time between
these two writes.

I actually think that the process is first writing the data to the
sectors and then updating the ext4 data base in a second step.
Is that true or am I wrong? Why is it waiting some seconds between these
two steps and on what is that delay depending?

Thank you!
Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-13 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13 15:49 Writing one file, observing two writes Sebastian Biedermann
2014-04-13 19:03 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).