def METHOD_NAME(device, host_id):
    """
    Get disk provisioning_mode, value usually is 'writesame_16', depends
    on params for scsi_debug module.
    """
    device_name = os.path.basename(device)
    path = "/sys/block/%s/device/scsi_disk" % device_name
    path += "/%s/provisioning_mode" % host_id
    return genio.read_one_line(path).strip()