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: NBenjamin LaHaise <bcrl@kvack.org>
Showing
想要评论请 注册 或 登录