Anyone else seen this?

(25736,1):ocfs2_query_inode_wipe:882 ERROR: Inode 129047 (on-disk 129047) not 
orphaned! Disk flags  0x1, inode flags 0x80
(25736,1):ocfs2_delete_inode:1010 ERROR: status = -17

Test case is my patched version of ocfs2-test/programs/dirop_file_racer
that allows long filename prefixes.  I ran it on two nodes in separate
directories.  Filesystem has a 512B blocksize, and I specified a
filename prefix of 250 characters (thus brushing up against NAME_MAX and
forcing some longer symlinks out of the inode).

# 
PREFIX=cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
 ./racer.sh


Test was on ocfs2-ALL.  All features were turned on in mkfs except
indexed-dirs.

Joel

-- 

Life's Little Instruction Book #99

        "Think big thoughts, but relish small pleasures."

Joel Becker
Principal Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127
diff --git a/programs/dirop_fileop_racer/dir_create.sh b/programs/dirop_fileop_racer/dir_create.sh
index 3595bd2..c3bb319 100755
--- a/programs/dirop_fileop_racer/dir_create.sh
+++ b/programs/dirop_fileop_racer/dir_create.sh
@@ -27,7 +27,7 @@ create(){
 }
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
+    file="${PREFIX}"$(($RANDOM%$MAX))
     mkdir -p $DIR/$file/$file/ 2> /dev/null
     create 2> /dev/null
 done
diff --git a/programs/dirop_fileop_racer/file_concat.sh b/programs/dirop_fileop_racer/file_concat.sh
index 7d57416..e3f1b91 100755
--- a/programs/dirop_fileop_racer/file_concat.sh
+++ b/programs/dirop_fileop_racer/file_concat.sh
@@ -29,7 +29,7 @@ concat(){
 }
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
-    new_file=$(($RANDOM%$MAX))
+    file="${PREFIX}"$(($RANDOM%$MAX))
+    new_file="${PREFIX}"$(($RANDOM%$MAX))
     concat 2> /dev/null
 done
diff --git a/programs/dirop_fileop_racer/file_create.sh b/programs/dirop_fileop_racer/file_create.sh
index fa15ea0..2e40a60 100755
--- a/programs/dirop_fileop_racer/file_create.sh
+++ b/programs/dirop_fileop_racer/file_create.sh
@@ -30,7 +30,7 @@ create() {
 }
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
+    file="${PREFIX}"$(($RANDOM%$MAX))
     create 2> /dev/null
 done
 
diff --git a/programs/dirop_fileop_racer/file_link.sh b/programs/dirop_fileop_racer/file_link.sh
index ab5b2b4..3dfb8ba 100755
--- a/programs/dirop_fileop_racer/file_link.sh
+++ b/programs/dirop_fileop_racer/file_link.sh
@@ -23,8 +23,9 @@ DIR=$1
 MAX=$2
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
-    new_file=$((($file + 1)%$MAX))
+    N=$(($RANDOM%$MAX))
+    file="${PREFIX}"$N
+    new_file="${PREFIX}"$((($N + 1)%$MAX))
     ln -s $file $DIR/$new_file 2> /dev/null
     ln $file $DIR/$new_file 2> /dev/null
 done
diff --git a/programs/dirop_fileop_racer/file_rename.sh b/programs/dirop_fileop_racer/file_rename.sh
index b34f3ff..0122168 100755
--- a/programs/dirop_fileop_racer/file_rename.sh
+++ b/programs/dirop_fileop_racer/file_rename.sh
@@ -23,7 +23,8 @@ DIR=$1
 MAX=$2
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
-    new_file=$((($file + 1)%$MAX))
+    N=$(($RANDOM%$MAX))
+    file="${PREFIX}"$N
+    new_file="${PREFIX}"$((($N + 1)%$MAX))
     mv $DIR/$file $DIR/$new_file 2> /dev/null
 done
diff --git a/programs/dirop_fileop_racer/file_rm.sh b/programs/dirop_fileop_racer/file_rm.sh
index cd0d707..b2d8932 100755
--- a/programs/dirop_fileop_racer/file_rm.sh
+++ b/programs/dirop_fileop_racer/file_rm.sh
@@ -23,7 +23,7 @@ DIR=$1
 MAX=$2
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
+    file="${PREFIX}"$(($RANDOM%$MAX))
     rm -rf $DIR/$file 2> /dev/null
     sleep 1
 done
diff --git a/programs/dirop_fileop_racer/file_symlink.sh b/programs/dirop_fileop_racer/file_symlink.sh
index 74276c1..5a28bbd 100755
--- a/programs/dirop_fileop_racer/file_symlink.sh
+++ b/programs/dirop_fileop_racer/file_symlink.sh
@@ -23,8 +23,9 @@ DIR=$1
 MAX=$2
 
 while /bin/true ; do 
-    file=$(($RANDOM%$MAX))
-    new_file=$((($file + 1)%$MAX))
+    N=$(($RANDOM%$MAX))
+    file="${PREFIX}"$N
+    new_file="${PREFIX}"$((($N + 1)%$MAX))
     ln -s $file $DIR/$new_file 2> /dev/null
     ln -s $file/$file/$file $DIR/$new_file 2> /dev/null
 done
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to