]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tasks/cephfs: fix race in test_full
authorJohn Spray <jspray@redhat.com>
Thu, 11 Jun 2015 10:19:47 +0000 (11:19 +0100)
committerJohn Spray <jspray@redhat.com>
Thu, 11 Jun 2015 10:21:26 +0000 (11:21 +0100)
commit63a563d0e7e7114c7e801f484694b3d358c12d59
tree0cb0063f7832cb7183995632fa1c5ad54e8ab115
parentdab2ae2e3d930237f83c9fe67aa4ec03357f3bef
tasks/cephfs: fix race in test_full

Sometimes mount A would get a cap revoke when mount
B did its last IO, resulting in mount A's OSD epoch
getting updated too.

Fix by making sure mount B is the last one to have
done IO before we do the barrier, so that when
it does IO again after the barrier, mount A can't
be holding any caps that B would need.

Fixes: #11913
Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs/test_full.py