mirror of
https://github.com/ceph/ceph
synced 2025-04-09 19:26:08 +00:00
xio: avoid conversion warning w/xio_queue_depth
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
parent
34bb892ac0
commit
c2a2499263
@ -319,12 +319,13 @@ XioMessenger::XioMessenger(CephContext *cct, entity_name_t name,
|
||||
xio_set_opt(NULL, XIO_OPTLEVEL_ACCELIO, XIO_OPTNAME_MAX_INLINE_XIO_HEADER,
|
||||
&xopt, sizeof(xopt));
|
||||
|
||||
size_t queue_depth = cct->_conf->xio_queue_depth;
|
||||
struct xio_mempool_config mempool_config = {
|
||||
6,
|
||||
{
|
||||
{1024, 0, cct->_conf->xio_queue_depth, 262144},
|
||||
{4096, 0, cct->_conf->xio_queue_depth, 262144},
|
||||
{16384, 0, cct->_conf->xio_queue_depth, 262144},
|
||||
{1024, 0, queue_depth, 262144},
|
||||
{4096, 0, queue_depth, 262144},
|
||||
{16384, 0, queue_depth, 262144},
|
||||
{65536, 0, 128, 65536},
|
||||
{262144, 0, 32, 16384},
|
||||
{1048576, 0, 8, 8192}
|
||||
|
Loading…
Reference in New Issue
Block a user