code question: PGQueueable VS OpRequestRef

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

 



void PG::queue_op(OpRequestRef& op)
{
...
  osd->op_wq.queue(make_pair(PGRef(this), op));


class OSDService {
....
  ShardedThreadPool::ShardedWQ < pair <PGRef, PGQueueable> > &op_wq;

"op" is of type OpRequestRef, but op_wq second is of type PGQueueable

How does this work? Is "PGQueueable" same as "OpRequestRef"?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [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