]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: enforce caps when creating/deleting unmanaged snapshots
authorJason Dillaman <dillaman@redhat.com>
Tue, 5 Jun 2018 17:24:48 +0000 (13:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 26 Jun 2018 16:09:35 +0000 (12:09 -0400)
commit6b242c8bfc469a5cd560a902165d48405099d758
treef838b7c6943b3f76c5dc43dec262e347406cf3aa
parentb26ff9f79a0cbdda8b888e5cd2bcec84fdf0070d
mon/OSDMonitor: enforce caps when creating/deleting unmanaged snapshots

The entity will require write access to the OSD service or permission
for the synthetic "osd pool op unmanaged-snap" command.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4972e054b32c8200600f27564d50d443e683153e)

Conflicts:
src/mon/OSDMonitor.cc: use 'bufferlist::begin' instead of 'bufferlist::cbegin'
(cherry picked from commit 3dfb23d036c068ec5166151ed63628738d68908a)

Conflicts:
src/mon/CMakeLists.txt: added 'OSDCap.cc'
src/mon/CMakeLists.txt
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h