Skip to content

rbd: fix some issues around flushing notifies

Ilya Dryomov ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rbd: avoid a deadlock on header_rwsem when flushing notifiesdrivers/block/rbd.c+9 -40 replies
2/3rbd: call rbd_dev_unprobe() after unwatching and flushing notifiesdrivers/block/rbd.c+4 -40 replies
3/3rbd: don't test rbd_dev->opts in rbd_dev_image_release()drivers/block/rbd.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJason Dillaman
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] rbd: fix some issues around flushing notifies

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(-)
Signature · 1 line
2.19.2