]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: let the user running ceph-osd remove subvolumes
authorJosh Durgin <josh.durgin@dreamhost.com>
Wed, 11 Jan 2012 00:04:09 +0000 (16:04 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Wed, 11 Jan 2012 00:07:04 +0000 (16:07 -0800)
This will prevent EPERM when using the SNAP_DESTROY ioctl,
so the filestore will use btrfs snaps.

teuthology/task/ceph.py

index ee3c20df33bc8190a3a0589027143d76730651ea..ffd7919c284bb7ed528608eba58c4ba513315e3a 100644 (file)
@@ -591,6 +591,8 @@ def cluster(ctx, config):
                     args=[
                         'sudo',
                         'mount',
+                        '-o',
+                        'user_subvol_rm_allowed',
                         dev,
                         os.path.join('/tmp/cephtest/data', 'osd.{id}.data'.format(id=id_)),
                         ]