mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Different value in journal block after crash?
@ 2006-09-22  9:58 a287848
  0 siblings, 0 replies; only message in thread
From: a287848 @ 2006-09-22  9:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi I'm moweon.

Now I'm making redundancy module in my jbd based file system.

When I tesed and dumped its block, I found one funny stuation.


First I modified */commit.c/* in jbd directory to print commit complete
message and it's block number.
( add printk after wait_on_buffer )


After I saw this message from kernel just like this

(*NOTICE: Commit complete , its block number : 560 *)

I read its contents from block number 1 to 101 into file

And I read it again after suddenly turn off my work station.

, I think it must has same value becuase journal commit block was
already written behind block number 101 .


But when I campared two file, it's different .

Why it happen? Does jbd use some trick in block management?

Dear














^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-22  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-22  9:58 Different value in journal block after crash? a287848

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome