|| ||Boaz Harrosh <email@example.com>|
|| ||FUJITA Tomonori <firstname.lastname@example.org>|
|| ||[PATCH 0/3] scsi: variable-length CDBs support|
|| ||Tue, 15 Apr 2008 15:24:42 +0300|
|| ||email@example.com, Jens Axboe <firstname.lastname@example.org>,
Bartlomiej Zolnierkiewicz <email@example.com>,
James Bottomley <James.Bottomley@HansenPartnership.com>,
Alasdair G Kergon <firstname.lastname@example.org>,
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>|
Based on TOMO's block patches for supporting large commands
These patches will enable support for variable-length, extended,
and vendor specific CDBs. It should now cover the entire range of the
These patches are independent of TOMO's patches to the block layer,
because the block layer API for drivers did not change. So all I did
was make sure nothing will break when large commands start coming.
They are based on scsi-misc and could go in as is.
I have tested my OSD setup with scsi-misc + for-2.6.26 branch from
Jens + these patches and it all works fine. So I'm happy.
[1/3] Let scsi_cmnd->cmnd use request->cmd buffer
Here I let scsi_cmnd->cmnd point to the space allocated by
request->cmd, instead of copying the data. The scsi_cmnd->cmd_len
is guaranteed to contain the right length of the command.
I have tried to go over every single place in the kernel that uses
scsi_cmnd->cmnd and make sure it looks sane. Surprisingly to me,
that was not at all bad. I hope I did not miss anything.
I've tested on an x86_64 machine booting from a sata disk and
ran the iscsi regression tests as well as my bidi and varlen tests
on top of the complete patchset and all tests passed.
[2/3] scsi: varlen extended and vendor-specific cdbs
Adds support for variable length, extended, and vendor-specific
cdbs at the scsi mid-layer.
[3/3] iscsi_tcp: Enable large commands
One liner for iscsi_tcp. Mike please ACK this patch
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html