]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/async: `io_context_pool` constructor takes int64_t
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 14 Apr 2023 18:58:16 +0000 (14:58 -0400)
committerAdam Emerson <aemerson@redhat.com>
Thu, 14 Sep 2023 21:48:01 +0000 (17:48 -0400)
commit8ea3dfe14b8386aa0153ec0b5a7bcd0bfede8117
tree2e5f868d566bcc0f496c6fb633fca763012eafd7
parent5b9b2c0c86aec06a2c4ef60c1fdc6a41d01ce849
common/async: `io_context_pool` constructor takes int64_t

Just because this is what Ceph's config uses and it saves a narrowing
conversion. If we want to set a max value on the thread count, we
should do it in config.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/async/context_pool.h