]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2060eefb1f827e5505c7ffbd1f4e18848f0db99a
treeaba6e085ad0193bde59f599b0ad7b3ddb484b744
parent97df33db06c0dd4f4a5f4f572b542d3ef0bcec4f
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