'Determine how close a flexvol is to its shared block limit.'

def get_flexvol_dedupe_used_percent(self, flexvol_name):

    if (not self.features.CLONE_SPLIT_STATUS):
        return 0.0
    dedupe_info = self.get_flexvol_dedupe_info(flexvol_name)
    clone_split_info = self.get_clone_split_info(flexvol_name)
    total_dedupe_blocks = (dedupe_info.get('logical-data-size') + clone_split_info.get('unsplit-size'))
    dedupe_used_percent = ((100.0 * float(total_dedupe_blocks)) / dedupe_info.get('logical-data-limit'))
    return dedupe_used_percent
