<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>Tao,<br>
<br>
Sorry about the late. I ran into some problems and finally got to run
some tests today with tunefs-test.sh and the truncate program. The
tunefs seems to be working fine.  Didn't find any unexpected problem
with it.<br>
<br>
With the truncate, I started the script. At first it was error because
it doesn't have the test_truncate binary set in the script. I did that,
and it started and I let it run. After a few hours running, it showed
nothing at all, like it was frozen. Hitting enter where it was running,
showed an fsck error. I tried again and it does the same soon after I
hit enter. I don't know if that's the expected behavior, but I found a
little weird.<br>
<br>
Anyway, I'll need to do a little more experiments. I will probably be
able to do some over the weekend and Monday morning.<br>
<br>
<br>
Will send you an update once I have done more tests.<br>
</tt><br>
tao.ma wrote:
<blockquote cite="mid:464268FF.5020201@oracle.com" type="cite">Marcos,
  <br>
   Please note that the patch of tunefs-test may not succeed in current
version of tunefs.ocfs2.
  <br>
You may need to patch the source code and build it by yourself. ;)
  <br>
The patch can be found in this thread(Please use the patch I sent on
April 27, not April 25).
  <br>
Or you may find it in the archive.
  <br>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/pipermail/ocfs2-tools-devel/2007-April/000145.html">http://oss.oracle.com/pipermail/ocfs2-tools-devel/2007-April/000145.html</a>
  <br>
  <br>
Sunil Mushran wrote:
  <br>
  <blockquote type="cite">Looks good.
    <br>
    <br>
Marcos, Please test and provide feedback to Tao.
    <br>
    <br>
tao.ma wrote:
    <br>
    <blockquote type="cite">Sunil and Marcos,
      <br>
The test patch are attached. Please review it.
      <br>
      <br>
      <br>
Sunil Mushran wrote:
      <br>
      <blockquote type="cite">Tao,
        <br>
        <br>
Looks good. However, I would like few tests added in conjuction with
        <br>
this.
        <br>
        <br>
1. Test for ocfs2_truncate(). Test should create a file with lots of
        <br>
extents (using the same scheme of allocating multiple clusters but
        <br>
appending to the file in reverse order) and then truncate it. Run fsck
        <br>
to check correctness. We should be able to run the same basic test in
        <br>
multiple combinations of bs/cs. For each combination, we should make
the
        <br>
tree level 0 and level 1 trees.
        <br>
  </blockquote>
The test script is added at ocfs2-test/programs/truncate/ocfs2-tools.
      <br>
Another c program is also added for the test.
      <br>
      <blockquote type="cite">2. Specific test for resizing journals in
tunefs. Test should not try to
        <br>
stress test truncate but concentrate on ensuring that the user not
        <br>
resize the journal in conjunction with num slot increase.
        <br>
  </blockquote>
The test case is added to
ocfs2-test/programs/tunefs-test/tunefs-test.sh
      <br>
      <br>
The case increase journal size and increase number of nodes, decrease
journal while increasing slots.
      <br>
As for increasing journal without changing the number of slots, it
already exists in the script.
      <br>
      <br>
      <br>
    </blockquote>
  </blockquote>
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering


</pre>
</body>
</html>