xen-blkfront: set blk_queue_max_hw_sectors correctly
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 21 Jun 2013 10:56:54 +0000 (12:56 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 21 Jun 2013 19:58:55 +0000 (15:58 -0400)
commit294caaf29c26cfed3b446fb46393b8b39ea1c0d3
tree71713c397582c01d7fa75bfc17de38fdf563e00c
parent2d9105433ff471d2c688817e98804029c074a623
xen-blkfront: set blk_queue_max_hw_sectors correctly

Now that indirect segments are enabled blk_queue_max_hw_sectors must
be set to match the maximum number of sectors we can handle in a
request.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported-by: Felipe Franciosi <felipe.franciosi@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c