Skip to content

rbd: clean up use of ctl_mutex

Alex Elder ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rbd: set removing flag while holding list lockdrivers/block/rbd.c+22 -311 reply
2/5rbd: protect against concurrent unmapsdrivers/block/rbd.c+4 -21 reply
3/5rbd: don't hold ctl_mutex to get/put devicedrivers/block/rbd.c+0 -01 reply
4/5rbd: use rwsem to protect header updatesdrivers/block/rbd.c+1 -11 reply
5/5rbd: take a little creditdrivers/block/rbd.c+1 -01 reply

Reviews trailers per patch

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

PatchJosh Durgin
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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 0/5] rbd: clean up use of ctl_mutex

This series eliminates most uses of the ctl_mutex for locking. Its precise purpose was always a little fuzzy to me; with this series in place it is now only used to protect looking up ceph clients. It also eliminates some lockdep problems reported at unmap time.

-Alex

[PATCH 1/5] rbd: set removing flag while holding list lock [PATCH 2/5] rbd: protect against concurrent unmaps [PATCH 3/5] rbd: don't hold ctl_mutex to get/put device [PATCH 4/5] rbd: use rwsem to protect header updates [PATCH 5/5] rbd: take a little credit