Skip to content

rbd: improve how rbd ids are selected

Alex Elder ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/5rbd: encapsulate new rbd id selectiondrivers/block/rbd.c+19 -110 replies
2/5rbd: rework calculation of new rbd id'sdrivers/block/rbd.c+23 -121 reply
3/5rbd: protect the rbd_dev_list with a spinlockdrivers/block/rbd.c+0 -20 replies
4/5rbd: tie rbd_dev_list changes to rbd_id operationsdrivers/block/rbd.c+21 -260 replies
5/5rbd: restore previous rbd id sequence behaviordrivers/block/rbd.c+34 -62 replies

Reviews trailers per patch

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

PatchSage Weil
SeriesR-b
2/5
2/5
3/5
4/5
5/5

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: improve how rbd ids are selected

New rbd devices are granted a unique identifiers based on how many devices are already in existence. This series rearranges how that is done, switching from using a spinlock to using an atomic variable to select the next rbd id to use. In the process a bit of the code got a bit more isolated.

-Alex