aio: double aio_max_nr in calculations
authorBenjamin LaHaise <bcrl@kvack.org>
Tue, 30 Jul 2013 16:06:37 +0000 (12:06 -0400)
committerBenjamin LaHaise <bcrl@kvack.org>
Tue, 30 Jul 2013 16:06:37 +0000 (12:06 -0400)
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: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c

diff --cc fs/aio.c
Simple merge