• Alex Elder's avatar
    rbd: rename __rbd_init_snaps_header() · 9fcbb800
    Alex Elder authored
    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: default avatarAlex Elder <elder@inktank.com>
    Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
    9fcbb800
rbd.c 64.7 KB