]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test mount shared subtrees state transition
authorZorro Lang <zlang@redhat.com>
Tue, 14 Feb 2017 00:55:44 +0000 (19:55 -0500)
committerEryu Guan <eguan@redhat.com>
Wed, 15 Feb 2017 09:55:51 +0000 (17:55 +0800)
commit101cb277500f1a8bd47c0d1e30c366b43597d669
tree90311783665359532e8ada958360eaa85c1b075e
parent71691c261f5c8131ceec41107283d3704e58f631
generic: test mount shared subtrees state transition

This case will do function test for mount --make-* operations, it
will verify below state transition:

------------------------------------------------------------------------
|             |make-shared |  make-slave  | make-private |make-unbindab|
--------------|------------|--------------|--------------|-------------|
|shared       |shared      |*slave/private|   private    | unbindable  |
|             |            |              |              |             |
|-------------|------------|--------------|--------------|-------------|
|slave        |shared      |    **slave   |    private   | unbindable  |
|             |and slave   |              |              |             |
|-------------|------------|--------------|--------------|-------------|
|shared       |shared      |    slave     |    private   | unbindable  |
|and slave    |and slave   |              |              |             |
|-------------|------------|--------------|--------------|-------------|
|private      |shared      |  **private   |    private   | unbindable  |
|-------------|------------|--------------|--------------|-------------|
|unbindable   |shared      |**unbindable  |    private   | unbindable  |
------------------------------------------------------------------------

This case uses fsstress to produce a small random load, to make sure
basic operations on the mountpoints won't cause hang or panic etc.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/410 [new file with mode: 0755]
tests/generic/410.out [new file with mode: 0644]
tests/generic/group