commit | 6878ea72a5d1aa6caae86449975a50b7fe9abed5 | [log] [tgz] |
---|---|---|
author | Benjamin LaHaise <bcrl@kvack.org> | Wed Jul 31 10:34:18 2013 -0400 |
committer | Benjamin LaHaise <bcrl@kvack.org> | Wed Jul 31 10:34:18 2013 -0400 |
tree | 9750b6a7f37d340227399ff282a6aefb6892cd98 | |
parent | db446a08c23d5475e6b08c87acca79ebb20f283c [diff] |
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: Benjamin LaHaise <bcrl@kvack.org>