Mellanox / spdk

Storage Performance Development Kit
http://www.spdk.io/
Other
7 stars 15 forks source link

nvmf/rdma: Process pending requests in pending_buf_queue #75

Closed allen-mlnx closed 1 year ago

allen-mlnx commented 1 year ago

Some requests may be queued in pending_buf_queue due to lack of resource.

data_wr_pool_size is adjusted to guarantee enough cache for handling at least one IO in each core.

Sometimes, the last requests from a qpair are pending in pending_buf_queue, but nothing will be reaped on the qair, so the pending requests will not be handled anymore. To fix it, pending_buf_queue will be checked in an idle poll.