]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test bind mount operations
authorZorro Lang <zlang@redhat.com>
Tue, 14 Feb 2017 00:55:43 +0000 (19:55 -0500)
committerEryu Guan <eguan@redhat.com>
Wed, 15 Feb 2017 09:55:41 +0000 (17:55 +0800)
commit71691c261f5c8131ceec41107283d3704e58f631
treeefea4658eac4292fb2282529e6246ad62dc18a49
parent74a84259c5a896ca3716f23a41e59af11ddb05d4
generic: test bind mount operations

This case will do function test for mount bind operation, it will
verify below semantics:

---------------------------------------------------------------------------
|         BIND MOUNT OPERATION                                            |
|**************************************************************************
|source(A)->| shared       |       private  |       slave    | unbindable |
| dest(B)  |               |                |                |            |
|   |      |               |                |                |            |
|   v      |               |                |                |            |
|**************************************************************************
|  shared  | shared        |     shared     | shared & slave |  invalid   |
|          |               |                |                |            |
|non-shared| shared        |      private   |      slave     |  invalid   |
***************************************************************************

This case usees fsstress to produce a small random load, to make
sure basic operations on the bind 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/409 [new file with mode: 0755]
tests/generic/409.out [new file with mode: 0644]
tests/generic/group