Skip to content

rbd: fix a deadlock around header_rwsem and lock_rwsem

Ilya Dryomov stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rbd: move rbd_dev_refresh() definitiondrivers/block/rbd.c+37 -390 replies
2/4rbd: decouple header read-in from updating rbd_dev->headerdrivers/block/rbd.c+114 -910 replies
3/4rbd: decouple parent info read-in from updating rbd_devdrivers/block/rbd.c+80 -620 replies
4/4rbd: take header_rwsem in rbd_dev_refresh() only when updatingdrivers/block/rbd.c+16 -150 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDongsheng Yang
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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 for 5.4 0/4] rbd: fix a deadlock around header_rwsem and lock_rwsem

Hello,

This is the series I sent out earlier today for 5.10-6.1 backported to 5.4. More adjustments were needed but still very modest.

Thanks,

Ilya

Ilya Dryomov (4):
rbd: move rbd_dev_refresh() definition
rbd: decouple header read-in from updating rbd_dev->header
rbd: decouple parent info read-in from updating rbd_dev
rbd: take header_rwsem in rbd_dev_refresh() only when updating

 drivers/block/rbd.c | 420 ++++++++++++++++++++++++--------------------
 1 file changed, 230 insertions(+), 190 deletions(-)
Signature · 1 line
2.41.0