Fixes #10269 http://tracker.ceph.com/issues/10269

@dachary pls review and merge

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>