Re: rbd ThreadPool threads number

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

 



> Op 13 oktober 2016 om 8:56 schreef tao changtao <changtao381@xxxxxxxxx>:
> 
> 
> Hi All,
> 
> why the rbd ThreadPool  threads number are set 1 by hard code ?
> 

See this PR: https://github.com/ceph/ceph/commit/6c0ab75bceeff3239959f55b070a44fcb8dd6e23

And this issue: http://tracker.ceph.com/issues/15034

Wido

> 
> class ThreadPoolSingleton : public ThreadPool {
> public:
>   explicit ThreadPoolSingleton(CephContext *cct)
>     : ThreadPool(cct, "librbd::thread_pool", "tp_librbd", 1,
>                  "rbd_op_threads") {
>     start();
>   }
>   virtual ~ThreadPoolSingleton() {
>     stop();
>   }
> };
> 
> ________________________________
> changtao381@xxxxxxxxx
> --
> 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
--
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