collection commit_queue, what's the purpose?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have a question of collection commit_queue. What’s the purpose of this queue?

void BlueStore::_txc_committed_kv(TransContext *txc) {
	if (txc->ch->commit_queue){
		txc->ch->commit_queue->queue(txc->oncommits);
	}else{
		finisher.queue(txc->oncommits);
	}
}

I didn’t see clear places that process the ch->commit_queue(did I miss something here?). Why don’t we just use finisher_queue to notify the client the I/O is finished?

Please advice.

Thanks,
Yiming
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux