aboutsummaryrefslogtreecommitdiff
path: root/memory_mapping.c
diff options
context:
space:
mode:
authorWangyong <wang.yongD@h3c.com>2020-01-07 06:01:01 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2020-01-13 16:41:45 +0000
commit2558cb8dd4150512bc8ae6d505cdcd10d0cc46bb (patch)
tree2db7dcaae8de7d0f4c0631212ed3dd0e19d9007b /memory_mapping.c
parentdc65a5bdc9fa543690a775b50d4ffbeb22c56d6d (diff)
linux-aio: increasing MAX_EVENTS to a larger hardcoded value
Since commit 6040aedddb5f474a9c2304b6a432a652d82b3d3c "virtio-blk: make queue size configurable",if the user set the queue size to more than 128 ,it will not take effect. That's because linux aio's maximum outstanding requests at a time is always less than or equal to 128. This patch simply increase MAX_EVENTS to a larger hardcoded value of 1024 as a shortterm fix. Signed-off-by: wangyong <wang.yongD@h3c.com> Message-id: faa5781afd354a96a0be152b288f636f@h3c.com Message-Id: <faa5781afd354a96a0be152b288f636f@h3c.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions