From: a287848 <a287848@ece.hanyang.ac.kr>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Different value in journal block after crash?
Date: Fri, 22 Sep 2006 18:58:38 +0900 [thread overview]
Message-ID: <4513B3CE.50805@ece.hanyang.ac.kr> (raw)
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
reply other threads:[~2006-09-22 9:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4513B3CE.50805@ece.hanyang.ac.kr \
--to=a287848@ece.hanyang.ac.kr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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