aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorTim Smith <tim.smith@citrix.com>2018-12-12 11:16:24 +0000
committerAnthony PERARD <anthony.perard@citrix.com>2019-01-14 13:45:40 +0000
commit6de45f91096da4d5e91f72a21bdfc86e7b506b67 (patch)
treefea0ecb0771a13851c064a6132cf829737a1c8fa /gdbstub.c
parent1077bcaccd6596ce6ccc67eee8b2c1bab112fa68 (diff)
xen-block: improve batching behaviour
When I/O consists of many small requests, performance is improved by batching them together in a single io_submit() call. When there are relatively few requests, the extra overhead is not worth it. This introduces a check to start batching I/O requests via blk_io_plug()/ blk_io_unplug() in an amount proportional to the number which were already in flight at the time we started reading the ring. Signed-off-by: Tim Smith <tim.smith@citrix.com> Re-based and commit comment adjusted. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Acked-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions