On 2012年07月11日 15:04, MORITA Kazutaka wrote: > 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 >
No, it's nothing to do with object cache, it's a reclaim work for object list cache. thanks, levin -- sheepdog mailing list sheepdog@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/sheepdog