<!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>
I think I missed something here. Did you send a patch to mount.ocfs2 to
support preferred_slot option? Your script is calling mount with it and
it is failing. It is not in your original set of ocfs2-tools patches.<br>
<br>
Let me know if I missed a patch.<br>
</tt><br>
tao.ma wrote:
<blockquote cite="mid:46A6F5A5.30005@oracle.com" type="cite">Add test
script in ocfs2-test to test whether removing slot can work OK.
  <br>
  <br>
1. remove_slot.c
  <br>
This file is used to create some boudary situation to test whether
  <br>
tunefs.ocfs2 can work OK with removing slots.
  <br>
When we have orphan files or have some blocks allocated in truncate log
  <br>
or local alloc, we can't remove the slots, so the option
CREATE_ORPHAN_FILE,
  <br>
CREATE_TRUNCATE_LOG and CREATE_LOCAL_ALLOC are used to check it.
  <br>
  <br>
2. remove_slot.sh
  <br>
The normal test script to test whether tunefs.ocfs2 can work OK.
  <br>
  <br>
3. corrupt_remove_slot.patch
  <br>
With this patch, tunefs.ocfs2 will abort at the specified place and we
can check
  <br>
whether fsck.ocfs2 can fix the aborted problem.
  <br>
  <br>
4. corrupt_remove_slot.patch
  <br>
The main test script to test whether fsck.ocfs2 can recover from the
aborted tunefs.ocfs2.
  <br>
  <br>
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:tao.ma@oracle.com">tao.ma@oracle.com</a> wrote:
  <br>
  <blockquote type="cite">tunefs.ocfs2 has been able to increase the
slot for a long time.
    <br>
Now the support for removing slots is also added. There are also some
changes
    <br>
in debugfs.ocfs2 and fsck.ocfs2 to be fit for this new feature.
    <br>
    <br>
Modification from v3 to v4:
    <br>
    <br>
1. Only check s_tunesfs_flag if FEATURE_INCOMPAT_TUNEFS is set in
ocfs2_open.
    <br>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/pipermail/ocfs2-tools-devel/2007-June/000222.html">http://oss.oracle.com/pipermail/ocfs2-tools-devel/2007-June/000222.html</a>
    <br>
    <br>
2. Modify the following places in the process of removing slots.
    <br>
   1) Remove relink_alloc_action enums and use existing
    <br>
      INODE_ALLOC_SYSTEM_INODE instead.
    <br>
   2) Limit the use of globals in the static functions.
    <br>
   3) Rename new_inode to dst_blkno as it is the blkno for dst_inode.
    <br>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/pipermail/ocfs2-tools-devel/2007-June/000224.html">http://oss.oracle.com/pipermail/ocfs2-tools-devel/2007-June/000224.html</a>
    <br>
    <br>
3. Fix a bug when we remove the system file entry from the system
directory.
    <br>
  </blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering


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