• Benjamin LaHaise's avatar
    aio: double aio_max_nr in calculations · 4cd81c3d
    Benjamin LaHaise authored
    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>
    4cd81c3d
aio.c 34.7 KB