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)
commit4cd81c3dfc4a34e4a0b6fa577860077c8e5b13af
treeaba6e085ad0193bde59f599b0ad7b3ddb484b744
parentd29c445b635b3a03cf683cafcbae58a4ec1e1125
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: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c