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

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