]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs/test_client_recovery: check FUSE version before invoking flock
authorGreg Farnum <gfarnum@redhat.com>
Fri, 1 May 2015 01:15:05 +0000 (18:15 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 12 May 2015 21:43:19 +0000 (14:43 -0700)
commitf780f1894b82e60a14aadd41dfba83e3a35c5bfc
tree4d4808a1d9582c2b4219508260e83e39a5d9de50
parentc5ff21be7d615053fcf4c6652eca64289f0253ae
cephfs/test_client_recovery: check FUSE version before invoking flock

flock only works properly on FUSE versions >=2.9, which is newer
than eg Ubuntu Precise. So check the version on our client mounts and
only test flock if it's at least that new.

Fixes: #9995
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
tasks/cephfs/mount.py
tasks/cephfs/test_client_recovery.py