Skip to content

rbd: minor cleanups in rbd_add()

Alex Elder ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rbd: have rbd_get_client() return a rbd_clientdrivers/block/rbd.c+12 -200 replies
2/3rbd: reduce memory used for rbd_dev fieldsdrivers/block/rbd.c+2 -20 replies
3/3rbd: simplify error handling in rbd_add()drivers/block/rbd.c+17 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] rbd: minor cleanups in rbd_add()

This series affects rbd_add(). It calls rbd_get_client(), and by making that function return a client pointer it makes it more obvious that the client pointer is getting assigned. It also reduces the amount of memory allocated to hold the monitor address and options passed from the user. And it cleans up the error handling path in that function.

-Alex