]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: rename __rbd_init_snaps_header()
authorAlex Elder <elder@inktank.com>
Fri, 24 Aug 2012 04:48:49 +0000 (23:48 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:50 +0000 (14:30 -0500)
commitb49480e873f62f2dbe4f9821f9d797f34f8ebfa4
tree2d13303313f687016b43e90491b73db43994b0e0
parent009af140f35919813027dedfd6a39fd5e3c7beea
rbd: rename __rbd_init_snaps_header()

The name __rbd_init_snaps_header() doesn't really convey what that
function does very well.  Its purpose is to scan a new snapshot
context and either create or destroy snapshot device entries so
that local host's view is consistent with the reality maintained
on the OSDs.  This patch just changes the name of this function,
to be rbd_dev_snap_devs_update().  Still not perfect, but I think
better.

Also add some dynamic debug statements to this function.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c