rbd: clean up use of ctl_mutex
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | rbd: set removing flag while holding list lockdrivers/ | +22 | 1 reply | |
| 2/5 | rbd: protect against concurrent unmapsdrivers/ | +4 | 1 reply | |
| 3/5 | rbd: don't hold ctl_mutex to get/put devicedrivers/ | +0 | 1 reply | |
| 4/5 | rbd: use rwsem to protect header updatesdrivers/ | +1 | 1 reply | |
| 5/5 | rbd: take a little creditdrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Josh Durgin |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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