]> git.baikalelectronics.ru Git - kernel.git/commit
rsxx: Allow block size to be determined by configuration.
authorPhilip J Kelleher <pjk1939@linux.vnet.ibm.com>
Tue, 18 Jun 2013 19:39:44 +0000 (14:39 -0500)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2013 11:52:09 +0000 (13:52 +0200)
commit4701b80967d5b48e3a35dbf6b015f6f7f2950313
treecb70405d971241d9cc7706325df41c85c2e003b2
parent9a1cea982a127f422b5972b57ef41000476870cc
rsxx: Allow block size to be determined by configuration.

Previously, the block size was determined by whether or not
our Hardware could handle 512 byte accesses. Now, all of our
Hardware can handle 512 and 4096 block sizes.

This fix allows it to be user configurable.

Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/dev.c