renzhengeek / issues

0 stars 0 forks source link

ocfs2-test:muti node reflink test:blksize 512 cluster size 1048576:no space left #16

Open renzhengeek opened 9 years ago

renzhengeek commented 9 years ago
n1:/opt/ocfs2-test/log/multi-reflink-test # cat multi-refcount-tests-run-x86_64-2015-09-07-18-32-35.log
=====================Multi-nodes refcount tests start:  Mon Sep  7 18:32:35 CST 2015=====================
<- Running test with 512 bs and 4096 cs ->
[*] Mkfs device /dev/sda:                                                      [ PASS ]
[*] Remote Mount among nodes n1,n2:                                            [ PASS ]
[1] Basic Functional Test:                                                     [ PASS ]
[2] Random Test:                                                               [ PASS ]
[3] Mmap Test:                                                                 [ PASS ]
[4] O_DIRECT Test:                                                             [ PASS ]
[5] Concurrent Test:                                                           [ PASS ]
[6] Inline-data Refcount Test:                                                 [ PASS ]
[7] Xattr Combination Test:                                                    [ PASS ]
[8] Stress Test:                                                               [ PASS ]
[*] Umount volume from nodes n1,n2:                                            [ PASS ]
<- Running test with 512 bs and 32768 cs ->
[*] Mkfs device /dev/sda:                                                      [ PASS ]
[*] Remote Mount among nodes n1,n2:                                            [ PASS ]
[9] Basic Functional Test:                                                     [ PASS ]
[10] Random Test:                                                              [ PASS ]
[11] Mmap Test:                                                                [ PASS ]
[12] O_DIRECT Test:                                                            [ PASS ]
[13] Concurrent Test:                                                          [ PASS ]
[14] Inline-data Refcount Test:                                                [ PASS ]
[15] Xattr Combination Test:                                                   [ PASS ]
[16] Stress Test:                                                              [ PASS ]
[*] Umount volume from nodes n1,n2:                                            [ PASS ]
<- Running test with 512 bs and 1048576 cs ->
[*] Mkfs device /dev/sda:                                                      [ PASS ]
[*] Remote Mount among nodes n1,n2:                                            [ PASS ]
[17] Basic Functional Test:                                                    [ PASS ]
[18] Random Test:                                                              [ PASS ]
[19] Mmap Test:                                                                [ PASS ]
[20] O_DIRECT Test:                                                            [ PASS ]
[21] Concurrent Test:                                                          [ PASS ]
[22] Inline-data Refcount Test:                                                [ PASS ]
[23] Xattr Combination Test:                                                   [FAILED]
n1:/opt/ocfs2-test/log/multi-reflink-test # ls
multi-refcount-tests-run-x86_64-2015-09-07-18-32-35.log  multi-refcount-tests-x86_64-2015-09-07-18-32-35.log
n1:/opt/ocfs2-test/log/multi-reflink-test # cat multi-refcount-tests-x86_64-2015-09-07-18-32-35.log
2015/09/07,18:32:35  =====================Multi-nodes refcount tests start:  Mon Sep  7 18:32:35 CST 2015=====================
2015/09/07,18:32:35  <- Running test with 512 bs and 4096 cs ->
2015/09/07,18:32:35  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=pcmk --cluster-name=hacluster                                          -b 512 -C 4096 -L ocfs2-multi-refcount-tests-x86_64 -N 2   /dev/sda 
mkfs.ocfs2 1.8.2
Cluster stack: pcmk
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-multi-refcount-tests-x86_64
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 4096 (12 bits)
Volume size: 161061273600 (39321600 clusters) (314572800 blocks)
Cluster groups: 10972 (tail covers 1536 clusters, rest cover 3584 clusters)
Extent allocator size: 80740352 (77 groups)
Journal size: 33554432
Node slots: 2
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 4 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/09/07,18:33:52  [*] Remote Mount among nodes n1,n2:
2015/09/07,18:33:52  /opt/ocfs2-test/bin/remote_mount.py -l ocfs2-multi-refcount-tests-x86_64 -m /mnt/shared -n n1,n2 
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 udevadm trigger
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 /opt/ocfs2-test/bin/command.py --mount -l ocfs2-multi-refcount-tests-x86_64 -m /mnt/shared
2015/09/07,18:34:14  [1] Basic Functional Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -f 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/07,18:34:56  Cleanup working place
2015/09/07,18:34:57  [2] Random Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -r 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/07,18:35:39  Cleanup working place
2015/09/07,18:35:39  [3] Mmap Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -m 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
2015/09/07,18:36:12  Cleanup working place
2015/09/07,18:36:12  [4] O_DIRECT Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 41943040 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -O 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes O_DIRECT test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_directio_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_directio_refile among nodes.
  *SubTest 3:Cowing reflinks by O_DIRECT writes among nodes.
  *SubTest 4:O_DIRECT reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/07,18:55:36  Cleanup working place
2015/09/07,18:55:36  [5] Concurrent Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 10485760 -n 1000 -w /mnt/shared/ocfs2-multi-refcount-tests -c 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes comprehensive test.
  *Test Rank 0: Doing verifications.
  *Test Rank 1: Doing reflinks,cows and unlink.
  *Test Rank 3: Doing reads.
  *Test Rank 2: Doing cows.
  *Test Rank 0: Doing unlinks.
2015/09/07,19:22:27  Cleanup working place
2015/09/07,19:22:27  [6] Inline-data Refcount Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 312 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -f 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/07,19:22:33  Cleanup working place
2015/09/07,19:22:33  [7] Xattr Combination Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 10 -w /mnt/shared/ocfs2-multi-refcount-tests -x 1000 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic xattr refcount test.
  *SubTest 1: Prep original inode.
  *SubTest 2: Prep 1000 xattr name list among nodes.
  *SubTest 3: Prep original inode with 1000 EAs.
  *SubTest Rank 1: Do reflinks and cows on 1000 EAs.
  *SubTest Rank 2: Do cows on 1000 EAs.
  *SubTest Rank 3: Do data&ea cows on 1000 EAs.
  *SubTest Rank 0: Do EA removal.
Test 2: Multi-nodes stress xattr refcount test..
  *SubTest 1: Prep original inode.
  *SubTest 2: Prep 1000 xattr name list among nodes.
  *SubTest 3: Prep original inode with 1000 EAs.
  *SubTest Rank 1: Do reflinks and cows on 1000 EAs.
  *SubTest Rank 2: Do cows on 1000 EAs.
  *SubTest Rank 3: Do data&ea cows on 1000 EAs.
  *SubTest Rank 0: Do EA removal.
2015/09/07,20:24:34  Cleanup working place
2015/09/07,20:24:34  [8] Stress Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -p 1000 -l 2147483648 -n 2000 -w /mnt/shared/ocfs2-multi-refcount-tests -s 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes stress refcount test.
  *SubTest 1: Stress test with tremendous refcount trees.
  *SubTest 2: Stress test with tremendous shared inodes on one refcount tree.
  *SubTest 3: Stress test with HUGEFILE reflinked.
2015/09/08,10:02:12  Cleanup working place
2015/09/08,10:02:12  [*] Umount volume from nodes n1,n2:
2015/09/08,10:02:12  /opt/ocfs2-test/bin/remote_umount.py -m /mnt/shared -n n1,n2
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 /opt/ocfs2-test/bin/command.py --umount -m /mnt/shared
2015/09/08,10:02:20  <- Running test with 512 bs and 32768 cs ->
2015/09/08,10:02:20  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=pcmk --cluster-name=hacluster                                          -b 512 -C 32768 -L ocfs2-multi-refcount-tests-x86_64 -N 2   /dev/sda 
mkfs.ocfs2 1.8.2
Cluster stack: pcmk
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-multi-refcount-tests-x86_64
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 32768 (15 bits)
Volume size: 161061273600 (4915200 clusters) (314572800 blocks)
Cluster groups: 1372 (tail covers 1536 clusters, rest cover 3584 clusters)
Extent allocator size: 80740352 (77 groups)
Journal size: 33554432
Node slots: 2
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 4 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/09/08,10:02:44  [*] Remote Mount among nodes n1,n2:
2015/09/08,10:02:44  /opt/ocfs2-test/bin/remote_mount.py -l ocfs2-multi-refcount-tests-x86_64 -m /mnt/shared -n n1,n2 
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 udevadm trigger
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 /opt/ocfs2-test/bin/command.py --mount -l ocfs2-multi-refcount-tests-x86_64 -m /mnt/shared
2015/09/08,10:03:08  [9] Basic Functional Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -f 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,10:03:55  Cleanup working place
2015/09/08,10:03:55  [10] Random Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -r 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,10:04:40  Cleanup working place
2015/09/08,10:04:40  [11] Mmap Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -m 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
2015/09/08,10:05:20  Cleanup working place
2015/09/08,10:05:20  [12] O_DIRECT Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 41943040 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -O 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes O_DIRECT test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_directio_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_directio_refile among nodes.
  *SubTest 3:Cowing reflinks by O_DIRECT writes among nodes.
  *SubTest 4:O_DIRECT reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,10:36:13  Cleanup working place
2015/09/08,10:36:13  [13] Concurrent Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 10485760 -n 1000 -w /mnt/shared/ocfs2-multi-refcount-tests -c 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes comprehensive test.
  *Test Rank 0: Doing verifications.
  *Test Rank 1: Doing reflinks,cows and unlink.
  *Test Rank 3: Doing reads.
  *Test Rank 2: Doing cows.
  *Test Rank 0: Doing unlinks.
2015/09/08,11:06:37  Cleanup working place
2015/09/08,11:06:37  [14] Inline-data Refcount Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 312 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -f 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,11:06:39  Cleanup working place
2015/09/08,11:06:40  [15] Xattr Combination Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 10 -w /mnt/shared/ocfs2-multi-refcount-tests -x 1000 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic xattr refcount test.
  *SubTest 1: Prep original inode.
  *SubTest 2: Prep 1000 xattr name list among nodes.
  *SubTest 3: Prep original inode with 1000 EAs.
  *SubTest Rank 1: Do reflinks and cows on 1000 EAs.
  *SubTest Rank 3: Do data&ea cows on 1000 EAs.
  *SubTest Rank 2: Do cows on 1000 EAs.
  *SubTest Rank 0: Do EA removal.
Test 2: Multi-nodes stress xattr refcount test..
  *SubTest 1: Prep original inode.
  *SubTest 2: Prep 1000 xattr name list among nodes.
  *SubTest 3: Prep original inode with 1000 EAs.
  *SubTest Rank 1: Do reflinks and cows on 1000 EAs.
  *SubTest Rank 2: Do cows on 1000 EAs.
  *SubTest Rank 3: Do data&ea cows on 1000 EAs.
  *SubTest Rank 0: Do EA removal.
2015/09/08,12:27:02  Cleanup working place
2015/09/08,12:27:02  [16] Stress Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -p 1000 -l 2147483648 -n 2000 -w /mnt/shared/ocfs2-multi-refcount-tests -s 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes stress refcount test.
  *SubTest 1: Stress test with tremendous refcount trees.
  *SubTest 2: Stress test with tremendous shared inodes on one refcount tree.
  *SubTest 3: Stress test with HUGEFILE reflinked.
2015/09/08,22:11:50  Cleanup working place
2015/09/08,22:11:50  [*] Umount volume from nodes n1,n2:
2015/09/08,22:11:50  /opt/ocfs2-test/bin/remote_umount.py -m /mnt/shared -n n1,n2
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 /opt/ocfs2-test/bin/command.py --umount -m /mnt/shared
2015/09/08,22:11:56  <- Running test with 512 bs and 1048576 cs ->
2015/09/08,22:11:56  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=pcmk --cluster-name=hacluster                                          -b 512 -C 1048576 -L ocfs2-multi-refcount-tests-x86_64 -N 2   /dev/sda 
mkfs.ocfs2 1.8.2
Cluster stack: pcmk
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-multi-refcount-tests-x86_64
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 1048576 (20 bits)
Volume size: 161061273600 (153600 clusters) (314572800 blocks)
Cluster groups: 43 (tail covers 3072 clusters, rest cover 3584 clusters)
Extent allocator size: 80740352 (77 groups)
Journal size: 33554432
Node slots: 2
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 4 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/09/08,22:12:03  [*] Remote Mount among nodes n1,n2:
2015/09/08,22:12:03  /opt/ocfs2-test/bin/remote_mount.py -l ocfs2-multi-refcount-tests-x86_64 -m /mnt/shared -n n1,n2 
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 udevadm trigger
+ /usr/lib64/mpi/gcc/openmpi/bin/mpirun --allow-run-as-root -mca btl tcp,self -mca plm_rsh_agent ssh:rsh --allow-run-as-root -np 2 --host n1,n2 /opt/ocfs2-test/bin/command.py --mount -l ocfs2-multi-refcount-tests-x86_64 -m /mnt/shared
2015/09/08,22:12:26  [17] Basic Functional Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -f 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,22:13:09  Cleanup working place
2015/09/08,22:13:09  [18] Random Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -r 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,22:13:51  Cleanup working place
2015/09/08,22:13:51  [19] Mmap Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -m 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
2015/09/08,22:14:29  Cleanup working place
2015/09/08,22:14:29  [20] O_DIRECT Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 41943040 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -O 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes O_DIRECT test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_directio_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_directio_refile among nodes.
  *SubTest 3:Cowing reflinks by O_DIRECT writes among nodes.
  *SubTest 4:O_DIRECT reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,22:34:46  Cleanup working place
2015/09/08,22:34:46  [21] Concurrent Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 10485760 -n 1000 -w /mnt/shared/ocfs2-multi-refcount-tests -c 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes comprehensive test.
  *Test Rank 0: Doing verifications.
  *Test Rank 1: Doing reflinks,cows and unlink.
  *Test Rank 3: Doing reads.
  *Test Rank 2: Doing cows.
  *Test Rank 0: Doing unlinks.
2015/09/08,22:52:18  Cleanup working place
2015/09/08,22:52:18  [22] Inline-data Refcount Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 312 -n 100 -w /mnt/shared/ocfs2-multi-refcount-tests -f 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic refcount test.
  *SubTest 1:Prepare original inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile.
  *SubTest 2:Reflinking inode /mnt/shared/ocfs2-multi-refcount-tests/multi_original_basic_refile among nodes.
  *SubTest 3:Cowing reflinks among nodes.
  *SubTest 4:Reading reflinks among nodes.
  *SubTest 5:Appending reflinks among nodes.
  *SubTest 6:Truncating reflinks among nodes.
2015/09/08,22:52:22  Cleanup working place
2015/09/08,22:52:22  [23] Xattr Combination Test, CMD:/usr/lib64/mpi/gcc/openmpi/bin/mpirun -mca pls_rsh_agent ssh:rsh --allow-run-as-root -mca btl tcp,self --allow-run-as-root  -np 4 --host n1,n2 /opt/ocfs2-test/bin/multi_reflink_test -i 1 -l 104857600 -n 10 -w /mnt/shared/ocfs2-multi-refcount-tests -x 1000 
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
--------------------------------------------------------------------------
A deprecated MCA variable value was specified in the environment or
on the command line.  Deprecated MCA variables should be avoided;
they may disappear in future releases.

  Deprecated variable: pls_rsh_agent
  New variable:        plm_rsh_agent
--------------------------------------------------------------------------
[*Round 0 Test Running*]
Test 1: Multi-nodes basic xattr refcount test.
  *SubTest 1: Prep original inode.
  *SubTest 2: Prep 1000 xattr name list among nodes.
  *SubTest 3: Prep original inode with 1000 EAs.
ioctl failed:28:No space left on device
do_reflinks failed
Rank:0 on Host(n1) abort!
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[n1][[8996,1],1][btl_tcp_frag.c:215:mca_btl_tcp_frag_recv] mca_btl_tcp_frag_recv: readv failed: Connection reset by peer (104)
[n2][[8996,1],2][btl_tcp_frag.c:215:mca_btl_tcp_frag_recv] mca_btl_tcp_frag_recv: readv failed: Connection reset by peer (104)
n1:/opt/ocfs2-test/log/multi-reflink-test # df /dev/sda4
df: ‘/dev/sda4’: No such file or directory
n1:/opt/ocfs2-test/log/multi-reflink-test # df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/vda2        7119916 5394496   1357088  80% /
devtmpfs         1964364       8   1964356   1% /dev
tmpfs            1972992   67616   1905376   4% /dev/shm
tmpfs            1972992    1748   1971244   1% /run
tmpfs            1972992       0   1972992   0% /sys/fs/cgroup
/dev/sda       157286400 1734656 155551744   2% /mnt/shared
n1:/opt/ocfs2-test/log/multi-reflink-test # lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0  150G  0 disk /mnt/shared
vda    254:0    0 21.5G  0 disk 
├─vda1 254:1    0  987M  0 part [SWAP]
└─vda2 254:2    0    7G  0 part /
renzhengeek commented 9 years ago
Sep 09 00:31:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 09 00:31:00 n1 crmd[1629]: notice: Transition 700 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 09 00:31:00 n1 crmd[1629]: notice: Processing graph 700 (ref=pe_calc-dc-1441729860-731) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 09 00:31:00 n1 pengine[1628]: notice: Calculated Transition 700: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 09 00:31:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 09 00:30:01 n1 CRON[20799]: pam_unix(crond:session): session closed for user root
Sep 09 00:30:01 n1 kernel: type=1006 audit(1441729801.897:750): pid=20799 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=704 res=1
Sep 09 00:30:01 n1 cron[20799]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 09 00:16:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 09 00:16:00 n1 crmd[1629]: notice: Transition 699 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 09 00:16:00 n1 crmd[1629]: notice: Processing graph 699 (ref=pe_calc-dc-1441728960-730) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 09 00:16:00 n1 pengine[1628]: notice: Calculated Transition 699: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 09 00:16:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 09 00:15:01 n1 CRON[19920]: pam_unix(crond:session): session closed for user root
Sep 09 00:15:01 n1 kernel: type=1006 audit(1441728901.861:749): pid=19920 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=703 res=1
Sep 09 00:15:01 n1 cron[19920]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 09 00:13:37 n1 kernel: (kworker/u8:3,19534,2):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 09 00:13:37 n1 kernel: (kworker/u8:3,19534,2):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 09 00:13:37 n1 kernel: (kworker/u8:3,19534,2):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 09 00:13:37 n1 kernel: (kworker/u8:3,19534,2):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 09 00:13:37 n1 kernel: (kworker/u8:3,19534,2):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 09 00:13:37 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 09 00:03:30 n1 kernel: (kworker/u8:2,18928,2):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 09 00:03:30 n1 kernel: (kworker/u8:2,18928,2):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 09 00:03:30 n1 kernel: (kworker/u8:2,18928,2):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 09 00:03:30 n1 kernel: (kworker/u8:2,18928,2):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 09 00:03:30 n1 kernel: (kworker/u8:2,18928,2):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 09 00:03:30 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 09 00:01:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 09 00:01:00 n1 crmd[1629]: notice: Transition 698 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 09 00:01:00 n1 crmd[1629]: notice: Processing graph 698 (ref=pe_calc-dc-1441728060-729) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 09 00:01:00 n1 pengine[1628]: notice: Calculated Transition 698: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 09 00:01:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 09 00:00:01 n1 kernel: type=1006 audit(1441728001.825:748): pid=19029 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=702 res=1
Sep 09 00:00:01 n1 CRON[19029]: pam_unix(crond:session): session closed for user root
Sep 09 00:00:01 n1 cron[19029]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 23:46:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 23:46:00 n1 crmd[1629]: notice: Transition 697 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 23:46:00 n1 crmd[1629]: notice: Processing graph 697 (ref=pe_calc-dc-1441727160-728) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:46:00 n1 pengine[1628]: notice: Calculated Transition 697: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:46:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 23:45:01 n1 CRON[18135]: pam_unix(crond:session): session closed for user root
Sep 08 23:45:01 n1 kernel: type=1006 audit(1441727101.785:747): pid=18135 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=701 res=1
Sep 08 23:45:01 n1 cron[18135]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 23:43:14 n1 kernel: (kworker/u8:0,13098,2):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 23:43:14 n1 kernel: (kworker/u8:0,13098,2):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 23:43:14 n1 kernel: (kworker/u8:0,13098,2):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 23:43:14 n1 kernel: (kworker/u8:0,13098,2):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 23:43:14 n1 kernel: (kworker/u8:0,13098,2):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 23:43:14 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 23:33:11 n1 kernel: (kworker/u8:0,13098,3):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 23:33:11 n1 kernel: (kworker/u8:0,13098,3):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 23:33:11 n1 kernel: (kworker/u8:0,13098,3):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 23:33:11 n1 kernel: (kworker/u8:0,13098,3):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 23:33:11 n1 kernel: (kworker/u8:0,13098,3):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 23:33:11 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 23:31:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 23:31:00 n1 crmd[1629]: notice: Transition 696 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 23:31:00 n1 crmd[1629]: notice: Processing graph 696 (ref=pe_calc-dc-1441726260-727) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:31:00 n1 pengine[1628]: notice: Calculated Transition 696: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:31:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 23:30:01 n1 CRON[17234]: pam_unix(crond:session): session closed for user root
Sep 08 23:30:01 n1 kernel: type=1006 audit(1441726201.737:746): pid=17234 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=700 res=1
Sep 08 23:30:01 n1 cron[17234]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 23:16:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 23:16:00 n1 crmd[1629]: notice: Transition 695 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 23:16:00 n1 crmd[1629]: notice: Processing graph 695 (ref=pe_calc-dc-1441725360-726) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:16:00 n1 pengine[1628]: notice: Calculated Transition 695: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:16:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 23:15:01 n1 CRON[16358]: pam_unix(crond:session): session closed for user root
Sep 08 23:15:01 n1 kernel: type=1006 audit(1441725301.701:745): pid=16358 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=699 res=1
Sep 08 23:15:01 n1 cron[16358]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 23:12:56 n1 kernel: (kworker/u8:0,13098,2):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 23:12:56 n1 kernel: (kworker/u8:0,13098,2):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 23:12:56 n1 kernel: (kworker/u8:0,13098,2):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 23:12:56 n1 kernel: (kworker/u8:0,13098,2):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 23:12:56 n1 kernel: (kworker/u8:0,13098,2):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 23:12:56 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 23:01:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 23:01:00 n1 crmd[1629]: notice: Transition 694 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 23:01:00 n1 crmd[1629]: notice: Processing graph 694 (ref=pe_calc-dc-1441724460-725) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:01:00 n1 pengine[1628]: notice: Calculated Transition 694: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 23:01:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 23:00:01 n1 CRON[15465]: pam_unix(crond:session): session closed for user root
Sep 08 23:00:01 n1 kernel: type=1006 audit(1441724401.609:744): pid=15465 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=698 res=1
Sep 08 23:00:01 n1 cron[15465]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:52:45 n1 kernel: (kworker/u8:0,13098,3):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 22:52:45 n1 kernel: (kworker/u8:0,13098,3):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 22:52:45 n1 kernel: (kworker/u8:0,13098,3):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 22:52:45 n1 kernel: (kworker/u8:0,13098,3):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 22:52:45 n1 kernel: (kworker/u8:0,13098,3):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 22:52:45 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 22:52:28 n1 sudo[15034]: pam_unix(sudo:session): session closed for user root
Sep 08 22:52:28 n1 sudo[15034]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Sep 08 22:52:28 n1 sudo[15034]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/sbin/mkfs.ocfs2 --fs-features=sparse,unwritten,inline-data --cluster-stack=pcmk --
Sep 08 22:52:26 n1 kernel: (multi_reflink_t,14910,3):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 22:52:26 n1 kernel: (multi_reflink_t,14910,3):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 22:52:26 n1 kernel: (multi_reflink_t,14910,3):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 22:52:26 n1 kernel: (multi_reflink_t,14910,3):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 22:52:26 n1 kernel: (multi_reflink_t,14910,3):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 22:52:26 n1 kernel: File system is now read-only due to the potential of on-disk corruption. Please run fsck.ocfs2 once the file system is unmounted.
Sep 08 22:52:26 n1 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 22:52:26 n1 kernel: JBD2: multi_reflink_t wants too many credits (11102 > 8192)
Sep 08 22:52:26 n1 kernel: ---[ end trace 52f7e785aa03a3a5 ]---
Sep 08 22:52:26 n1 kernel:  [<00007fb151d45bc7>] 0x7fb151d45bc6
Sep 08 22:52:26 n1 kernel:  [<ffffffff81529809>] system_call_fastpath+0x16/0x1b
Sep 08 22:52:26 n1 kernel:  [<ffffffff811b9388>] SyS_ioctl+0x88/0xa0
Sep 08 22:52:26 n1 kernel:  [<ffffffff811b9124>] do_vfs_ioctl+0x2d4/0x4b0
Sep 08 22:52:26 n1 kernel:  [<ffffffffa05bc8a4>] ocfs2_ioctl+0x204/0x720 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa05da039>] ocfs2_reflink_ioctl+0x1c9/0x270 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa05d986f>] ocfs2_vfs_reflink+0xa5f/0x1060 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa06142e9>] ocfs2_reflink_xattrs+0x3d9/0x8d0 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa060ad83>] ocfs2_reflink_xattr_in_block+0x333/0xb40 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa0604f2a>] ocfs2_iterate_xattr_index_block+0x7a/0x200 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa0609ab6>] ocfs2_reflink_xattr_rec+0x206/0x710 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa05be2ce>] ocfs2_start_trans+0xde/0x1e0 [ocfs2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa01bc8c4>] jbd2__journal_start+0xf4/0x1e0 [jbd2]
Sep 08 22:52:26 n1 kernel:  [<ffffffffa01bc67c>] start_this_handle+0x55c/0x5b0 [jbd2]
Sep 08 22:52:26 n1 kernel:  [<ffffffff81058d62>] warn_slowpath_common+0x82/0xc0
Sep 08 22:52:26 n1 kernel:  [<ffffffff8151b874>] dump_stack+0x41/0x51
Sep 08 22:52:26 n1 kernel:  [<ffffffff81005d81>] show_stack+0x21/0x50
Sep 08 22:52:26 n1 kernel:  [<ffffffff81004a04>] show_stack_log_lvl+0x94/0x170
Sep 08 22:52:26 n1 kernel:  [<ffffffff8100471d>] dump_trace+0x7d/0x2d0
Sep 08 22:52:26 n1 kernel: Call Trace:
Sep 08 22:52:26 n1 kernel:  ffff8800228aebe8 ffffffffa01bc67c 0000000000008050 0000000000002b5e
Sep 08 22:52:26 n1 kernel:  ffff8800b681e000 0000000000002b5e 0000000000000000 0000000000000000
Sep 08 22:52:26 n1 kernel:  ffffffffa01c9514 ffffffff8151b874 0000000000000000 ffffffff81058d62
Sep 08 22:52:26 n1 kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Sep 08 22:52:26 n1 kernel: CPU: 1 PID: 14910 Comm: multi_reflink_t Tainted: G           O   X 3.12.46-2-default #1
Sep 08 22:52:26 n1 kernel: Supported: Yes, External
Sep 08 22:52:26 n1 kernel:  uhci_hcd ehci_hcd libata usbcore virtio_pci virtio_ring virtio floppy usb_common sg scsi_mod autofs4
Sep 08 22:52:26 n1 kernel: Modules linked in: ocfs2_stack_user(O) ocfs2(O) ocfs2_stackglue(O) ocfs2_nodemanager(O) quota_tree dlm(O) sctp libcrc32c configfs ebtable_filter ebtables
Sep 08 22:52:26 n1 kernel: WARNING: CPU: 1 PID: 14910 at ../fs/jbd2/transaction.c:269 start_this_handle+0x55c/0x5b0 [jbd2]()
Sep 08 22:52:25 n1 kernel: ------------[ cut here ]------------
Sep 08 22:46:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 22:46:00 n1 crmd[1629]: notice: Transition 693 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 22:46:00 n1 crmd[1629]: notice: Processing graph 693 (ref=pe_calc-dc-1441723560-724) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 22:46:00 n1 pengine[1628]: notice: Calculated Transition 693: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 22:46:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 22:45:01 n1 kernel: type=1006 audit(1441723501.541:743): pid=14440 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=697 res=1
Sep 08 22:45:01 n1 CRON[14440]: pam_unix(crond:session): session closed for user root
Sep 08 22:45:01 n1 cron[14440]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:31:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 22:31:00 n1 crmd[1629]: notice: Transition 692 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 22:31:00 n1 crmd[1629]: notice: Processing graph 692 (ref=pe_calc-dc-1441722660-723) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 22:31:00 n1 pengine[1628]: notice: Calculated Transition 692: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 22:31:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 22:30:01 n1 CRON[13527]: pam_unix(crond:session): session closed for user root
Sep 08 22:30:01 n1 kernel: type=1006 audit(1441722601.497:742): pid=13527 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=696 res=1
Sep 08 22:30:01 n1 cron[13527]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:16:00 n1 crmd[1629]: notice: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 08 22:16:00 n1 crmd[1629]: notice: Transition 691 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-38.bz2): Complete
Sep 08 22:16:00 n1 crmd[1629]: notice: Processing graph 691 (ref=pe_calc-dc-1441721760-722) derived from /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 22:16:00 n1 pengine[1628]: notice: Calculated Transition 691: /var/lib/pacemaker/pengine/pe-input-38.bz2
Sep 08 22:16:00 n1 crmd[1629]: notice: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED origin=crm_timer_popped ]
Sep 08 22:15:01 n1 CRON[12653]: pam_unix(crond:session): session closed for user root
Sep 08 22:15:01 n1 kernel: type=1006 audit(1441721701.457:741): pid=12653 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=695 res=1
Sep 08 22:15:01 n1 cron[12653]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:12:26 n1 sudo[12438]: pam_unix(sudo:session): session closed for user root
Sep 08 22:12:26 n1 sudo[12438]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Sep 08 22:12:26 n1 sudo[12438]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/chmod -R 777 /mnt/shared
Sep 08 22:12:26 n1 sudo[12436]: pam_unix(sudo:session): session closed for user root
Sep 08 22:12:26 n1 sudo[12436]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Sep 08 22:12:26 n1 sudo[12436]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/chown -R root:root /mnt/shared
Sep 08 22:12:25 n1 kernel: dlm: got connection from 318951484
Sep 08 22:12:25 n1 kernel: dlm: connecting to 318951484
Sep 08 22:12:25 n1 sudo[12424]: pam_unix(sudo:session): session closed for user root
Sep 08 22:12:25 n1 kernel: ocfs2: Mounting device (8,0) on (node 318951483, slot 0) with ordered data mode.
Sep 08 22:12:25 n1 kernel: JBD2: Ignoring recovery information on journal
Sep 08 22:12:25 n1 kernel: dlm: Using TCP for communications
Sep 08 22:12:24 n1 sudo[12424]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Sep 08 22:12:24 n1 sudo[12424]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/mount LABEL=ocfs2-multi-refcount-tests-x86_64 /mnt/shared
renzhengeek commented 9 years ago
Sep 08 22:12:24 n2 kernel: type=1006 audit(1441721544.809:1107): pid=29006 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1061 res=1
Sep 08 22:12:24 n2 sshd[29006]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:12:24 n2 sudo[29044]: root : TTY=unknown ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/mount LABEL=ocfs2-multi-refcount-tests-x86_64 /mnt/shared
Sep 08 22:12:24 n2 sudo[29044]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 08 22:12:25 n2 kernel: dlm: Using TCP for communications
Sep 08 22:12:25 n2 kernel: dlm: connecting to 318951483
Sep 08 22:12:25 n2 kernel: dlm: got connection from 318951483
Sep 08 22:12:25 n2 kernel: JBD2: Ignoring recovery information on journal
Sep 08 22:12:25 n2 kernel: ocfs2: Mounting device (8,0) on (node 318951484, slot 1) with ordered data mode.
Sep 08 22:12:25 n2 sudo[29044]: pam_unix(sudo:session): session closed for user root
Sep 08 22:12:25 n2 sshd[29006]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:12:25 n2 sshd[29006]: pam_unix(sshd:session): session closed for user root
Sep 08 22:12:25 n2 org.gtk.Private.UDisks2VolumeMonitor[22678]: ### debug: emit_signal: 0x1f03690
Sep 08 22:12:25 n2 org.gtk.Private.UDisks2VolumeMonitor[22678]: ### debug: emit_signal: 0x1ef3510
Sep 08 22:12:26 n2 sshd[29058]: Accepted publickey for root from 147.2.208.59 port 51648 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:12:26 n2 sshd[29058]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:12:26 n2 kernel: type=1006 audit(1441721546.357:1108): pid=29058 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1062 res=1
Sep 08 22:12:28 n2 systemd-journal[403]: Suppressed 4048 messages from /system.slice/systemd-udevd.service
Sep 08 22:12:28 n2 systemd-udevd[435]: cleanup idle workers
Sep 08 22:12:28 n2 systemd-udevd[435]: validate module index
Sep 08 22:12:28 n2 systemd-udevd[435]: Check if link configuration needs reloading.
Sep 08 22:12:28 n2 systemd-udevd[29053]: unload module index
Sep 08 22:12:28 n2 systemd-udevd[29053]: Unloaded link configuration context.
Sep 08 22:12:28 n2 systemd-udevd[435]: worker [29053] exit
Sep 08 22:12:28 n2 systemd-udevd[435]: worker [29053] cleaned up
Sep 08 22:12:54 n2 systemd-journal[403]: Forwarding to syslog missed 1647 messages.
Sep 08 22:13:09 n2 sshd[29058]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:13:09 n2 sshd[29058]: pam_unix(sshd:session): session closed for user root
Sep 08 22:13:09 n2 sshd[29122]: Accepted publickey for root from 147.2.208.59 port 51656 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:13:09 n2 sshd[29122]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:13:09 n2 kernel: type=1006 audit(1441721589.769:1109): pid=29122 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1063 res=1
Sep 08 22:13:51 n2 sshd[29122]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:13:51 n2 sshd[29122]: pam_unix(sshd:session): session closed for user root
Sep 08 22:13:51 n2 sshd[29187]: Accepted publickey for root from 147.2.208.59 port 51664 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:13:51 n2 sshd[29187]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:13:51 n2 kernel: type=1006 audit(1441721631.357:1110): pid=29187 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1064 res=1
Sep 08 22:14:29 n2 sshd[29187]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:14:29 n2 sshd[29187]: pam_unix(sshd:session): session closed for user root
Sep 08 22:14:29 n2 sshd[29251]: Accepted publickey for root from 147.2.208.59 port 51671 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:14:29 n2 sshd[29251]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:14:29 n2 kernel: type=1006 audit(1441721669.645:1111): pid=29251 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1065 res=1
Sep 08 22:15:01 n2 cron[29314]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:15:01 n2 kernel: type=1006 audit(1441721701.121:1112): pid=29314 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1066 res=1
Sep 08 22:15:01 n2 CRON[29314]: pam_unix(crond:session): session closed for user root
Sep 08 22:30:01 n2 cron[29990]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:30:01 n2 kernel: type=1006 audit(1441722601.181:1113): pid=29990 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1067 res=1
Sep 08 22:30:01 n2 CRON[29990]: pam_unix(crond:session): session closed for user root
Sep 08 22:34:45 n2 sshd[29251]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:34:45 n2 sshd[29251]: pam_unix(sshd:session): session closed for user root
Sep 08 22:34:46 n2 sshd[30220]: Accepted publickey for root from 147.2.208.59 port 51698 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:34:46 n2 sshd[30220]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:34:46 n2 kernel: type=1006 audit(1441722886.141:1114): pid=30220 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1068 res=1
Sep 08 22:45:01 n2 cron[30678]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 22:45:01 n2 kernel: type=1006 audit(1441723501.309:1115): pid=30678 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1069 res=1
Sep 08 22:45:01 n2 CRON[30678]: pam_unix(crond:session): session closed for user root
Sep 08 22:52:18 n2 sshd[30220]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:52:18 n2 sshd[30220]: pam_unix(sshd:session): session closed for user root
Sep 08 22:52:19 n2 sshd[31022]: Accepted publickey for root from 147.2.208.59 port 51722 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:52:19 n2 sshd[31022]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:52:19 n2 kernel: type=1006 audit(1441723939.069:1116): pid=31022 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1070 res=1
Sep 08 22:52:22 n2 sshd[31022]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:52:22 n2 sshd[31022]: pam_unix(sshd:session): session closed for user root
Sep 08 22:52:22 n2 sshd[31073]: Accepted publickey for root from 147.2.208.59 port 51729 ssh2: RSA e4:d1:bf:3a:c2:29:3d:82:ea:b8:dd:0e:98:04:96:dc [MD5]
Sep 08 22:52:22 n2 sshd[31073]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 08 22:52:22 n2 kernel: type=1006 audit(1441723942.589:1117): pid=31073 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1071 res=1
Sep 08 22:52:28 n2 sshd[31073]: Received disconnect from 147.2.208.59: 11: disconnected by user
Sep 08 22:52:28 n2 sshd[31073]: pam_unix(sshd:session): session closed for user root
Sep 08 22:52:34 n2 dbus[807]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service'
Sep 08 22:52:34 n2 PackageKit[31111]: daemon start
Sep 08 22:52:34 n2 dbus[807]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Sep 08 22:52:54 n2 PackageKit[31111]: daemon quit
Sep 08 22:57:49 n2 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 22:57:50 n2 kernel: File system is now read-only due to the potential of on-disk corruption. Please run fsck.ocfs2 once the file system is unmounted.
Sep 08 22:57:50 n2 kernel: (kworker/u8:3,30809,3):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 22:57:50 n2 kernel: (kworker/u8:3,30809,3):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 22:57:50 n2 kernel: (kworker/u8:3,30809,3):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 22:57:50 n2 kernel: (kworker/u8:3,30809,3):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 22:57:50 n2 kernel: (kworker/u8:3,30809,3):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 23:00:01 n2 cron[31425]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 23:00:01 n2 kernel: type=1006 audit(1441724401.621:1118): pid=31425 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1072 res=1
Sep 08 23:00:01 n2 CRON[31425]: pam_unix(crond:session): session closed for user root
Sep 08 23:07:52 n2 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 23:07:53 n2 kernel: (kworker/u8:3,30809,3):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 23:07:53 n2 kernel: (kworker/u8:3,30809,3):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 23:07:53 n2 kernel: (kworker/u8:3,30809,3):ocfs2_xattr_remove:2581 ERROR: status = -30
Sep 08 23:07:53 n2 kernel: (kworker/u8:3,30809,3):ocfs2_wipe_inode:769 ERROR: status = -30
Sep 08 23:07:53 n2 kernel: (kworker/u8:3,30809,3):ocfs2_delete_inode:1034 ERROR: status = -30
Sep 08 23:15:01 n2 cron[32094]: pam_unix(crond:session): session opened for user root by (uid=0)
Sep 08 23:15:01 n2 kernel: type=1006 audit(1441725301.661:1119): pid=32094 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=1073 res=1
Sep 08 23:15:01 n2 CRON[32094]: pam_unix(crond:session): session closed for user root
Sep 08 23:18:01 n2 kernel: OCFS2: ERROR (device sda): ocfs2_xattr_get_rec: Inode 458756 has bad extent record (0, 0, 0) in xattr
Sep 08 23:18:01 n2 kernel: (kworker/u8:2,32009,2):ocfs2_iterate_xattr_index_block:4073 ERROR: status = -30
Sep 08 23:18:01 n2 kernel: (kworker/u8:2,32009,2):ocfs2_xattr_free_block:2482 ERROR: status = -30
Sep 08 23:18:01 n2 kernel: (kworker/u8:2,32009,2):ocfs2_xattr_remove:2581 ERROR: status = -30
renzhengeek commented 9 years ago

257 static int start_this_handle(journal_t _journal, handle_t handle, 258 gfp_t gfp_mask) 259 { 260 transaction_t transaction, new_transaction = NULL; 261 int blocks = handle->h_buffer_credits; 262 int rsvblocks = 0; 263 unsigned long ts = jiffies; 264 265 / 266 * 1/2 of transaction can be reserved so we can practically handle 267 * only 1/2 of maximum transaction size per operation 268 / 269 if (WARN_ON(blocks > journal->j_max_transaction_buffers / 2)) { 270 printk(KERN_ERR "JBD2: %s wants too many credits (%d > %d)\n", 271 current->comm, blocks, 272 journal->j_max_transaction_buffers / 2); 273 return -ENOSPC; 274 }

renzhengeek commented 9 years ago
ocfs2_reflink_xattrs
  ocfs2_reflink_xattr_in_block
   ocfs2_reflink_xattr_tree
     ocfs2_iterate_xattr_index_block
        ocfs2_xattr_get_rec                   
renzhengeek commented 9 years ago
ret = ocfs2_iterate_xattr_index_block(args->old_inode, blk_bh, ocfs2_reflink_xattr_rec, &para);
renzhengeek commented 9 years ago

stats

Revision: 0.90
        Mount Count: 0   Max Mount Count: 20
        State: 0   Errors: 0
        Check Interval: 0   Last Check: Mon Sep 14 09:49:42 2015
        Creator OS: 0
        Feature Compat: 3 backup-super strict-journal-super
        Feature Incompat: 14288 sparse extended-slotmap userspace-stack inline-data xattr indexed-dirs refcount discontig-bg
        Tunefs Incomplete: 0 
        Feature RO compat: 1 unwritten
        Root Blknum: 4097   System Dir Blknum: 4098
        First Cluster Group Blknum: 2048
        Block Size Bits: 9   Cluster Size Bits: 20
        Max Node Slots: 2
        Extended Attributes Inline Size: 256
        Label: ocfs2-multi-refcount-tests-x86_64
        UUID: DBDE07FB1DA14E10BE01C1A59B24A1D6
        Hash: 1947614854 (0x74163e86)
        DX Seeds: 1560268634 2075982119 1094269891 (0x5cffcf5a 0x7bbcf927 0x41393bc3)
        Cluster stack: pcmk
        Cluster name: hacluster
        Cluster flags: 0 
        Inode: 2   Mode: 00   Generation: 1556383299 (0x5cc48643)
        FS Generation: 1556383299 (0x5cc48643)
        CRC32: 00000000   ECC: 0000
        Type: Unknown   Attr: 0x0   Flags: Valid System Superblock 
        Dynamic Features: (0x0) 
        User: 0 (root)   Group: 0 (root)   Size: 0
        Links: 0   Clusters: 153600
        ctime: 0x55f627b6 0x0 -- Mon Sep 14 09:49:42.0 2015
        atime: 0x0 0x0 -- Thu Jan  1 08:00:00.0 1970
        mtime: 0x55f627b6 0x0 -- Mon Sep 14 09:49:42.0 2015
        dtime: 0x0 -- Thu Jan  1 08:00:00 1970
        Refcount Block: 0
        Last Extblk: 0   Orphan Slot: 0
        Sub Alloc Slot: Global   Sub Alloc Bit: 65535
renzhengeek commented 9 years ago

stat

 Inode: 458755   Mode: 0755   Generation: 3823724203 (0xe3e966ab)
        FS Generation: 1556383299 (0x5cc48643)
        CRC32: 00000000   ECC: 0000
        Type: Regular   Attr: 0x0   Flags: Valid 
        Dynamic Features: (0x12) HasXattr Refcounted 
        Extended Attributes Block: 296961  Extended Attributes Inline Size: 0
        User: 0 (root)   Group: 0 (root)   Size: 104857600
        Links: 1   Clusters: 100
        ctime: 0x55f63160 0x2bdc675d -- Mon Sep 14 10:30:56.735864669 2015
        atime: 0x55f6315d 0x2885e95d -- Mon Sep 14 10:30:53.679864669 2015
        mtime: 0x55f63160 0x16e14f5d -- Mon Sep 14 10:30:56.383864669 2015
        dtime: 0x0 -- Thu Jan  1 08:00:00 1970
        Refcount Block: 296963
        Last Extblk: 0   Orphan Slot: 0
        Sub Alloc Slot: 0   Sub Alloc Bit: 3
        Tree Depth: 0   Count: 19   Next Free Rec: 2
        ## Offset        Clusters       Block#          Flags
        0  0             69             11395072        0x2 Refcounted
        1  69            31             22024192        0x2 Refcounted
renzhengeek commented 9 years ago

debugfs: refcount <458755>

SubAlloc Bit: 3   SubAlloc Slot: 0
        FS Generation: 1556383299 (0x5cc48643)
        Blknum: 296963   Parent: 0
        Cpos: 0   Last Leaf block: 297023
        Reftree Count: 2   Ref clusters: 62
        Flags: 0x2 Tree
        CRC32: 00000000   ECC: 0000
        SubAlloc Bit: 38   SubAlloc Slot: 0
        FS Generation: 1556383299 (0x5cc48643)
        Blknum: 296998   Parent: 296963
        Cpos: 11003   Last Leaf block: 0
        Reftree Count: 0   Ref clusters: 0
        Flags: 0x1 Leaf
        CRC32: 00000000   ECC: 0000
        Refcount records: 23   Used: 19
        ### Physical cpos          Clusters       Reference count
        0   11003                  1              1
        1   11004                  1              1
        2   11005                  1              1
        3   11006                  1              1
        4   11007                  1              1
        5   11008                  1              1
        6   11009                  1              1
        7   11010                  1              1
        8   11011                  1              1
        9   11012                  1              1
        10  11013                  1              1
        11  11014                  1              1
        12  11015                  1              1
        13  11016                  1              1
        14  11017                  1              1
        15  11018                  1              1
        16  11019                  1              1
        17  11020                  1              1
        18  11021                  1              1
        SubAlloc Bit: 57   SubAlloc Slot: 0
        FS Generation: 1556383299 (0x5cc48643)
        Blknum: 297017   Parent: 296963
        Cpos: 10987   Last Leaf block: 0
        Reftree Count: 0   Ref clusters: 0
        Flags: 0x1 Leaf
        CRC32: 00000000   ECC: 0000
        Refcount records: 23   Used: 16
        ### Physical cpos          Clusters       Reference count
        0   10987                  1              1
        1   10988                  1              1
        2   10989                  1              1
        3   10990                  1              1
        4   10991                  1              1
        5   10992                  1              1
        6   10993                  1              1
        7   10994                  1              1
        8   10995                  1              1
        9   10996                  1              1
        10  10997                  1              1
        11  10998                  1              1
        12  10999                  1              1
        13  11000                  1              1
        14  11001                  1              1
        15  11002                  1              1
renzhengeek commented 9 years ago

debugfs: xattr <458755>

Extended Attributes inline: 0
        Extended Attributes extent tree in index block #296961  Depth: 0  Records: 1
        Extended Attributes extent record start at #22099968  Has clusters: 1  Has buckets: 31
                Extended Attributes in bucket #0: 41
                Extended Attributes in bucket #1: 38
                Extended Attributes in bucket #2: 26
                Extended Attributes in bucket #3: 30
                Extended Attributes in bucket #4: 26
                Extended Attributes in bucket #5: 26
                Extended Attributes in bucket #6: 39
                Extended Attributes in bucket #7: 44
                Extended Attributes in bucket #8: 26
                Extended Attributes in bucket #9: 26
                Extended Attributes in bucket #10: 43
                Extended Attributes in bucket #11: 33
                Extended Attributes in bucket #12: 35
                Extended Attributes in bucket #13: 36
                Extended Attributes in bucket #14: 36
                Extended Attributes in bucket #15: 43
                Extended Attributes in bucket #16: 43
                Extended Attributes in bucket #17: 35
                Extended Attributes in bucket #18: 31
                Extended Attributes in bucket #19: 29
                Extended Attributes in bucket #20: 30
                Extended Attributes in bucket #21: 25
                Extended Attributes in bucket #22: 26
                Extended Attributes in bucket #23: 26
                Extended Attributes in bucket #24: 27
                Extended Attributes in bucket #25: 25
                Extended Attributes in bucket #26: 27
                Extended Attributes in bucket #27: 34
                Extended Attributes in bucket #28: 27
                Extended Attributes in bucket #29: 32
                Extended Attributes in bucket #30: 35

        Extended attributes in total: 1000
renzhengeek commented 9 years ago

like oracle bug: [1] https://oss.oracle.com/bugzilla/show_bug.cgi?id=1246 [2] https://oss.oracle.com/bugzilla/show_bug.cgi?id=1209 [3]https://oss.oracle.com/bugzilla/show_bug.cgi?id=1089 [4]https://oss.oracle.com/bugzilla/show_bug.cgi?id=1268

renzhengeek commented 9 years ago
ocfs2_reflink_xattrs
 ocfs2_reflink_xattr_in_block
  ocfs2_reflink_xattr_tree
   ocfs2_iterate_xattr_index_block
       while (name_hash > 0) {
                ocfs2_reflink_xattr_rec
                    ocfs2_lock_reflink_xattr_rec_allocators
                        ocfs2_iterate_xattr_buckets
                            for (i = 0; i < num_buckets; i++, blkno += bucket->bu_blocks) {
                                 ocfs2_calc_value_tree_metas            ---> metas.num_recs,metas.credits
                             }
                        *credits = metas.credits;
                        metas.num_recs =(metas.num_recs + ocfs2_refcount_recs_per_rb(osb->sb) - 1) /ocfs2_refcount_recs_per_rb(osb->sb) * 2;
                         *credits += metas.num_recs +metas.num_recs*  CFS2_EXPAND_REFCOUNT_TREE_CREDITS;
                        *credits += 1;  
        }