Skip to content
Commit 6878ea72 authored by Benjamin LaHaise's avatar Benjamin LaHaise
Browse files

aio: be defensive to ensure request batching is non-zero instead of BUG_ON()



In the event that an overflow/underflow occurs while calculating req_batch,
clamp the minimum at 1 request instead of doing a BUG_ON().

Signed-off-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
parent db446a08
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