At Wed, 11 Jul 2012 14:42:45 +0800, levin li wrote: > @@ -435,11 +450,15 @@ static void delete_one(struct work *work) > } > > ret = remove_object(oid); > - > if (ret != SD_RES_SUCCESS) > eprintf("remove object %" PRIx64 " fail, %d\n", oid, ret); > + > + nr_deleted++; > } > > + if (nr_deleted) > + notify_vdi_deletion(vdi_id); > + Should we notify it only when object cache is enabled? Thanks, Kazutaka |