[PATCH 3.10 24/79] ore: Fix wrong math in allocation of per device BIO

2014-02-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Boaz Harrosh commit aad560b7f63b495f48a7232fd086c5913a676e6f upstream. At IO preparation we calculate the max pages at each device and allocate a BIO per device of that size. The calculation

[PATCH 3.10 24/79] ore: Fix wrong math in allocation of per device BIO

2014-02-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Boaz Harrosh bharr...@panasas.com commit aad560b7f63b495f48a7232fd086c5913a676e6f upstream. At IO preparation we calculate the max pages at each device and allocate a BIO per device of that