Re: Unionmount and overlayfs testsuite

From: Sedat Dilek
Date: Tue Jun 03 2014 - 05:27:01 EST


On Tue, Jun 3, 2014 at 11:18 AM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> [...]
>>> [ NOTE-2: The call-trace I have seen once (TERMSLASH=0). ]
>>
>> Do you know for which operation?
>>
>
> # echo $TESTS
> open-plain.test open-trunc.test open-creat.test open-creat-trunc.test
> open-creat-excl.test open-creat-excl-trunc.test noent-plain.test
> noent-trunc.test noent-creat.test noent-creat-trunc.test
> noent-creat-excl.test noent-creat-excl-trunc.test sym1-plain.test
> sym1-trunc.test sym1-creat.test sym1-creat-excl.test sym2-plain.test
> sym2-trunc.test sym2-creat.test sym2-creat-excl.test symx-plain.test
> symx-trunc.test symx-creat.test symx-creat-excl.test
> symx-creat-trunc.test truncate.test dir-open.test dir-weird-open.test
> dir-open-dir.test dir-weird-open-dir.test dir-sym1-open.test
> dir-sym1-weird-open.test dir-sym2-open.test dir-sym2-weird-open.test
> readlink.test impermissible.test
>
> # for i in $TESTS ; do echo [ $i ] ; LC_ALL=C TEST_OVERLAYFS=1
> TERMSLASH=1 ./run.sh $i 2>&1 | tee ../run-sh-log_${i}.txt ; dmesg
>>dmesg_${i}.txt ; done
>
> # for i in $TESTS ; do echo [ $i ] ; grep "INFO: possible recursive
> locking detected" dmesg_${i}.txt ; done
> ...
> [ symx-creat-trunc.test ]
> [ truncate.test ]
> [ 1910.007203] [ INFO: possible recursive locking detected ]
> ...
>
> LAST-GOOD: dmesg_symx-creat-trunc.test.txt
>
> FIRST-BAD: dmesg_truncate.test.txt
>
> dmesg files attached.
>

The lockdep appears one time in the logs... I tried several...

# LC_ALL=C TEST_OVERLAYFS=1 ./run.sh truncate.test

...and see the only lockdep.

Sorry, I cannot say which of the test-no (is that what you mean by
operation?) is causing the lockdep.

Truncate-test results attached.

- Sedat -
***
*** TEST_OVERLAYFS=1 TERMSLASH=0 ./run.sh truncate.test
***
TEST129: Prepare comparison
16+0 records in
16+0 records out
TEST100: Truncate to 0
- fs_op truncate /mnt/a/foo100 0
TEST101: Truncate to 1
- fs_op truncate /mnt/a/foo101 1
TEST102: Truncate to 2
- fs_op truncate /mnt/a/foo102 2
TEST103: Truncate to 3
- fs_op truncate /mnt/a/foo103 3
TEST104: Truncate to 4
- fs_op truncate /mnt/a/foo104 4
TEST105: Truncate to 5
- fs_op truncate /mnt/a/foo105 5
TEST106: Truncate to 6
- fs_op truncate /mnt/a/foo106 6
TEST107: Truncate to 7
- fs_op truncate /mnt/a/foo107 7
TEST108: Truncate to 8
- fs_op truncate /mnt/a/foo108 8
TEST109: Truncate to 9
- fs_op truncate /mnt/a/foo109 9
TEST110: Truncate to 10
- fs_op truncate /mnt/a/foo110 10
TEST111: Truncate to 11
- fs_op truncate /mnt/a/foo111 11
TEST112: Truncate to 12
- fs_op truncate /mnt/a/foo112 12
TEST113: Truncate to 13
- fs_op truncate /mnt/a/foo113 13
TEST114: Truncate to 14
- fs_op truncate /mnt/a/foo114 14
TEST115: Truncate to 15
- fs_op truncate /mnt/a/foo115 15
TEST116: Truncate to 16
- fs_op truncate /mnt/a/foo116 16
TEST117: Truncate to 17
- fs_op truncate /mnt/a/foo117 17
TEST118: Truncate to 18
- fs_op truncate /mnt/a/foo118 18
TEST119: Truncate to 19
- fs_op truncate /mnt/a/foo119 19
TEST120: Truncate to 20
- fs_op truncate /mnt/a/foo120 20
TEST121: Truncate to 21
- fs_op truncate /mnt/a/foo121 21
TEST122: Truncate to 22
- fs_op truncate /mnt/a/foo122 22
TEST123: Truncate to 23
- fs_op truncate /mnt/a/foo123 23
TEST124: Truncate to 24
- fs_op truncate /mnt/a/foo124 24
TEST125: Truncate to 25
- fs_op truncate /mnt/a/foo125 25
TEST126: Truncate to 26
- fs_op truncate /mnt/a/foo126 26
TEST127: Truncate to 27
- fs_op truncate /mnt/a/foo127 27
TEST128: Truncate to 28
- fs_op truncate /mnt/a/foo128 28
***
*** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh truncate.test
***
TEST129: Prepare comparison
16+0 records in
16+0 records out
TEST100: Truncate to 0
- fs_op truncate /mnt/a/foo100/ 0 -E ENOTDIR -E ENOTDIR
TEST101: Truncate to 1
- fs_op truncate /mnt/a/foo101/ 1 -E ENOTDIR -E ENOTDIR
TEST102: Truncate to 2
- fs_op truncate /mnt/a/foo102/ 2 -E ENOTDIR -E ENOTDIR
TEST103: Truncate to 3
- fs_op truncate /mnt/a/foo103/ 3 -E ENOTDIR -E ENOTDIR
TEST104: Truncate to 4
- fs_op truncate /mnt/a/foo104/ 4 -E ENOTDIR -E ENOTDIR
TEST105: Truncate to 5
- fs_op truncate /mnt/a/foo105/ 5 -E ENOTDIR -E ENOTDIR
TEST106: Truncate to 6
- fs_op truncate /mnt/a/foo106/ 6 -E ENOTDIR -E ENOTDIR
TEST107: Truncate to 7
- fs_op truncate /mnt/a/foo107/ 7 -E ENOTDIR -E ENOTDIR
TEST108: Truncate to 8
- fs_op truncate /mnt/a/foo108/ 8 -E ENOTDIR -E ENOTDIR
TEST109: Truncate to 9
- fs_op truncate /mnt/a/foo109/ 9 -E ENOTDIR -E ENOTDIR
TEST110: Truncate to 10
- fs_op truncate /mnt/a/foo110/ 10 -E ENOTDIR -E ENOTDIR
TEST111: Truncate to 11
- fs_op truncate /mnt/a/foo111/ 11 -E ENOTDIR -E ENOTDIR
TEST112: Truncate to 12
- fs_op truncate /mnt/a/foo112/ 12 -E ENOTDIR -E ENOTDIR
TEST113: Truncate to 13
- fs_op truncate /mnt/a/foo113/ 13 -E ENOTDIR -E ENOTDIR
TEST114: Truncate to 14
- fs_op truncate /mnt/a/foo114/ 14 -E ENOTDIR -E ENOTDIR
TEST115: Truncate to 15
- fs_op truncate /mnt/a/foo115/ 15 -E ENOTDIR -E ENOTDIR
TEST116: Truncate to 16
- fs_op truncate /mnt/a/foo116/ 16 -E ENOTDIR -E ENOTDIR
TEST117: Truncate to 17
- fs_op truncate /mnt/a/foo117/ 17 -E ENOTDIR -E ENOTDIR
TEST118: Truncate to 18
- fs_op truncate /mnt/a/foo118/ 18 -E ENOTDIR -E ENOTDIR
TEST119: Truncate to 19
- fs_op truncate /mnt/a/foo119/ 19 -E ENOTDIR -E ENOTDIR
TEST120: Truncate to 20
- fs_op truncate /mnt/a/foo120/ 20 -E ENOTDIR -E ENOTDIR
TEST121: Truncate to 21
- fs_op truncate /mnt/a/foo121/ 21 -E ENOTDIR -E ENOTDIR
TEST122: Truncate to 22
- fs_op truncate /mnt/a/foo122/ 22 -E ENOTDIR -E ENOTDIR
TEST123: Truncate to 23
- fs_op truncate /mnt/a/foo123/ 23 -E ENOTDIR -E ENOTDIR
TEST124: Truncate to 24
- fs_op truncate /mnt/a/foo124/ 24 -E ENOTDIR -E ENOTDIR
TEST125: Truncate to 25
- fs_op truncate /mnt/a/foo125/ 25 -E ENOTDIR -E ENOTDIR
TEST126: Truncate to 26
- fs_op truncate /mnt/a/foo126/ 26 -E ENOTDIR -E ENOTDIR
TEST127: Truncate to 27
- fs_op truncate /mnt/a/foo127/ 27 -E ENOTDIR -E ENOTDIR
TEST128: Truncate to 28
- fs_op truncate /mnt/a/foo128/ 28 -E ENOTDIR -E ENOTDIR