numam-spdk/lib/nvme
Daniel Verkamp 668847e150 nvme: add max completions limit to I/O polling
nvme_ctrlr_process_io_completions() now takes a second parameter,
max_completions, to let the user limit the number of I/Os completed on
each poll.

If there are many I/Os waiting to be completed, the
nvme_ctrlr_process_io_completions() function could run for a long time
before returning control to the user, so the max_completions parameter
lets the user have more control of latency.

Change-Id: I3173059d94ec1cc5dbb636fc0ffd3dc09f3bfe4b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2015-11-05 15:07:52 -07:00
..
Makefile build: allow make to work from any directory 2015-11-04 10:19:08 -07:00
nvme_ctrlr_cmd.c build: enable signed-vs-unsigned compare warning 2015-11-02 14:40:22 -07:00
nvme_ctrlr.c nvme: add max completions limit to I/O polling 2015-11-05 15:07:52 -07:00
nvme_impl.h build: enable signed-vs-unsigned compare warning 2015-11-02 14:40:22 -07:00
nvme_internal.h nvme: add max completions limit to I/O polling 2015-11-05 15:07:52 -07:00
nvme_ns_cmd.c nvme: move nvme_request_add_child to nvme_ns_cmd.c 2015-09-28 14:04:11 -07:00
nvme_ns.c nvme: add max completions limit to I/O polling 2015-11-05 15:07:52 -07:00
nvme_qpair.c nvme: add max completions limit to I/O polling 2015-11-05 15:07:52 -07:00
nvme.c build: fix old-style declaration warnings 2015-11-02 14:40:12 -07:00