]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/scsiback: vscsi >2TB patch
authorSamuel Kvasnica <bugreports@list.ims.co.at>
Mon, 14 Nov 2011 18:57:38 +0000 (13:57 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 14 Nov 2011 18:59:15 +0000 (13:59 -0500)
commit0ddecb489ecdf9853dea18e83582a5716c8538c3
tree6e0db1d45b22cda23f3b9d0eadd6e9777347441d
parentf0a7f4e7ce92fc645af65c69fa77278f0649ee2e
xen/scsiback: vscsi >2TB patch

This patch fixes current 2TB limitation of the xen vscsi driver.
Both frontend (command size) and backend (missing READ_16/WRITE_16 commands)
driver need a fix. Also an scsi command added to support ALUA.
Tested thoroughly on 4TB external RAID.

I also enabled some more commands to allow operating LTO tape
drives and autoloaders (tested on HP Ultrium 1/8 + Bacula).

Still more scsi commands might be missing for other specific devices
(why not to enable all scsi commands by default ?).

This patch was tested on opensuse xenified kernels 2.6.31-2.6.34.7
in paravirtualized domU.

Signed-off-by: Samuel Kvasnica <samuel.kvasnica@ims.co.at>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/scsi/xen-scsiback/emulate.c
drivers/scsi/xen-scsifront/xenbus.c