<div dir="ltr"><div dir="ltr"><div style="font-size:small" class="gmail_default">Hi Yang,</div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">Yang Xu <<a href="mailto:xuyang2018.jy@cn.fujitsu.com">xuyang2018.jy@cn.fujitsu.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div>
<p><span style="font-size:small" class="gmail_default">...</span></p><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>
<div style="font-size:small">I have
tried this for many different systems, and it doesn't hit
the failure at least one time. So if no more comments, I
would merge the patch as below in the next step.</div>
</div>
</div>
</div>
</blockquote>
<pre>I have a question.we must call sync()? I think syncfs is more accurate.</pre></div></blockquote><div><br></div><div><div style="" class="gmail_default">Here we use sync() is to make fs metadata/cache being written back before testing because there is no obtainable file descriptor 'fd' for the ext4 deferred IO (e.g. initialize the journal and inode tables).</div><div style="font-size:small" class="gmail_default"><br></div></div></div>-- <br><div class="gmail_signature" dir="ltr"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>