Hello, A recent snapshot-based mirroring experiment exposed a deadlock on header_rwsem in the error path of rbd_dev_image_probe() (i.e. "rbd map"). Thanks, Ilya Ilya Dryomov (3): rbd: avoid a deadlock on header_rwsem when flushing notifies rbd: call rbd_dev_unprobe() after unwatching and flushing notifies rbd: don't test rbd_dev->opts in rbd_dev_image_release() drivers/block/rbd.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) -- 2.19.2