Skip to content
Commit 4cd81c3d authored by Benjamin LaHaise's avatar Benjamin LaHaise
Browse files

aio: double aio_max_nr in calculations



With the changes to use percpu counters for aio event ring size calculation,
existing increases to aio_max_nr are now insufficient to allow for the
allocation of enough events.  Double the value used for aio_max_nr to account
for the doubling introduced by the percpu slack.

Signed-off-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
parent d29c445b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment