<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }div.foxdiv20160401154409122594 { }body { font-size: 16pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
</head>
<body>
<div style="font-size: 16px;"><span style="line-height: 1.5; background-color: window;">Hi</span></div>
<div><span style="font-size: 16px; background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp;</span><font size="3"><span style="line-height: 1.5;"> &nbsp;&nbsp;</span><font><span style="line-height: 19px;">I get a issue while m</span><span style="line-height: 19px;">ounting
 the&nbsp;</span><span style="line-height: 16.0160007476807px; widows: 1;">volume at a time.&nbsp;</span></font><span style="line-height: 19px;">Missing&nbsp;</span></font><span style="font-size: 16px; background-color: rgba(0, 0, 0, 0);">jbd2_journal_update_sb_errno</span><font size="3"><span style="line-height: 19px;">()
 may cause this issue.</span></font></div>
<div style="font-size: 16px;"><span style="background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp; So far as i know,&nbsp;</span><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp;in&nbsp;</span><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp;</span><span style="line-height: 1.5; background-color: window;">jbd2_journal_clear_err,
 &nbsp;</span><span style="line-height: 1.5; background-color: window;">journal-&gt;j_errno = 0, but don't call&nbsp;</span><span style="background-color: window;">jbd2_journal_update_sb_errno update&nbsp;</span><span style="background-color: window;">sb-&gt;s_errno.</span></div>
<div style="font-size: 16px;">  in&nbsp;<span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">__journal_abort_soft,&nbsp;</span><span style="line-height: 1.5; background-color: window;">journal-&gt;j_errno and&nbsp;</span><span style="background-color: window;">&nbsp;</span><span style="background-color: window;">sb-&gt;s_errno&nbsp;</span><span style="line-height: 1.5; background-color: window;">record
 the abort error status.</span></div>
<div><font size="3"><span style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; the value of&nbsp;sb-&gt;s_errno is always EIO,<span style="line-height: 1.5;">&nbsp;</span><span style="line-height: 1.5;">jbd2_journal_load-&gt;</span><span style="line-height: 1.5;">load_superblock-&gt;</span><span style="line-height: 1.5;">journal-&gt;j_errno
 = be32_to_cpu(sb-&gt;s_errno);</span></span></font></div>
<div><font size="3"><span style="background-color: rgb(255, 255, 255);"><span style="line-height: 1.5;">&nbsp;&nbsp;</span>&nbsp;&nbsp;the next time mounting the volume, still get the same issues. &nbsp;so&nbsp;jbd2_journal_update_sb_errno should be called after&nbsp;jbd2_journal_clear_err</span></font></div>
<div><font size="3"><span style="background-color: rgb(255, 255, 255);"><span style="line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span>&nbsp;in&nbsp;ocfs2_clear_journal_error.&nbsp;<span style="line-height: 19px;">&nbsp;</span><span style="line-height: 19px;">Anybody ever see this, is it&nbsp;</span><span style="line-height: 30px; widows: 1;">reasonable</span><span style="line-height: 19px;">? Thanks</span></span></font></div>
<div style="font-size: 16px;"><span style="background-color: window;"><br>
</span></div>
<div style="font-size: 16px;"><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><font size="2" style="font-size: 16px;">ocfs2_journal_load</font></div>
<div style="font-size: 16px;"><font size="2" style="font-size: 16px;">&nbsp; &nbsp;</font><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="line-height: 1.5; background-color: window;">--</span><span style="line-height: 1.5; background-color: window;">jbd2_journal_load</span></div>
<div style="font-size: 16px;"><font size="2" style="font-size: 16px;">&nbsp; &nbsp;</font><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="line-height: 1.5; background-color: window;">--&nbsp;</span><span style="line-height: 1.5; background-color: window;">ocfs2_clear_journal_error</span></div>
<div style="font-size: 16px;"><font size="2" style="font-size: 16px;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</font><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="line-height: 1.5; background-color: window;">--</span><span style="line-height: 1.5; background-color: window;">jbd2_journal_errno</span></div>
<div style="font-size: 16px;"><font size="2" style="font-size: 16px;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</font><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="line-height: 1.5; background-color: window;">--</span><span style="line-height: 1.5; background-color: window;">jbd2_journal_ack_err</span></div>
<div style="font-size: 16px;"><font size="2" style="font-size: 16px;">&nbsp; &nbsp;&nbsp;<span style="line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span></font><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="line-height: 1.5; background-color: window;">--</span><span style="line-height: 1.5; background-color: window;">jbd2_journal_clear_err</span></div>
<div style="font-size: 16px;"><span style="background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp;&nbsp;</span><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp;&nbsp;</span><span style="background-color: rgba(0, 0, 0, 0); line-height: 1.5;">&nbsp; &nbsp; --&nbsp;</span><span style="background-color: window;">jbd2_journal_update_sb_errno
 &nbsp;--update sb_error</span></div>
<div style="font-size: 16px;"><span style="background-color: window;"><br>
</span></div>
<div><span style="font-size: 16px; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp;&nbsp;</span><font style="font-size: 16px; line-height: 24px;">(mount.ocfs2,7417,38):ocfs2_clear_journal_error:1052 ERROR: File system error -5 recorded in journal 2.<br>
</font><span style="font-size: 16px; line-height: 24px; background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp;&nbsp;</span><font style="font-size: 16px; line-height: 24px;">(mount.ocfs2,7417,38):ocfs2_clear_journal_error:1054 ERROR: File system on device dm-1 needs checking</font></div>
<div><span style="background-color: rgba(0, 0, 0, 0);">&nbsp; &nbsp;&nbsp;</span></div>
<div><font size="3"><span style="background-color: rgb(255, 255, 255);">&nbsp; Thanks.</span></font></div>
<div><br>
</div>
<hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span>
<div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<div>zhangguanghui</div>
</div>
</span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;">
<div>
<div class="FoxDiv20160401154409122594">
<p></p>
</div>
</div>
</blockquote>
<span style="font-size:7.5pt;font-family:华文细黑;color:gray"><span lang="EN-US">-------------------------------------------------------------------------------------------------------------------------------------<br>
</span>本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出<span lang="EN-US"><br>
</span>的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、<span lang="EN-US"><br>
</span>或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本<span lang="EN-US"><br>
</span>邮件!<span lang="EN-US"><br>
</span></span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">This e-mail and its attachments contain confidential information from H3C, which is
<br>
intended only for the person or entity whose address is listed above. Any use of the
<br>
information contained herein in any way (including, but not limited to, total or partial
<br>
disclosure, reproduction, or dissemination) by persons other than the intended <br>
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
<br>
by phone or email immediately and delete it!</span>
</body>
</html>