]> git.baikalelectronics.ru Git - kernel.git/commit
exofs: Use proper max_IO calculations from ore
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 2 Aug 2012 11:59:57 +0000 (14:59 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 2 Aug 2012 13:39:17 +0000 (16:39 +0300)
commit2dbd25a11fcbf71a64b8755d44bd884b6452d4be
treea7b5e4b47d82a88b03e197f6932209cad7f8714b
parent3d3b1aaad31c7181a9467502d9cad63c9daf0ceb
exofs: Use proper max_IO calculations from ore

exofs_max_io_pages should just use the ORE's
calculated layout->max_io_length,

And avoid unnecessary BUGs, calculations made here were
also a layering violation.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c