]> 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)
commit643eb5b6c85e83c01196364b52728e465a9a5d4f
tree2d13303313f687016b43e90491b73db43994b0e0
parentbbe4af1e0feac8cd16ac5113cdca9bef2b38c2cb
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