logo       

Re: Support for CDB length > 16: msg#00290

Subject: Re: Support for CDB length > 16
Liran Schour wrote:



Christoph Hellwig wrote:


You'd have to enlarge MAX_COMMAND_SIZE, that'S the whole point of it :)
What exactly are you trying to do and for what kernel release?  We've
been through increasing it from 12 to 16 at some point in 2.4.


I am trying to find a way to do that without the need to recompile the
kernel.
I am trying to support an OSD device see t10 OSD draft, I think that 2.6 is
my target kernel release.

Liran,
Yep, I knew that I'd seen really big SCSI commands somewhere.
OSD, now there is a storage paradigm that doesn't fit
the block subsystem:-)

Perhaps we should starting thinking about kmalloc()ing
scsi_cmnd::cmnd (rather than having it as a fixed array).
The mid-level owns that structure so it can take care
of allocation and de-allocation. We would have to
find code that does sizeof(scsi_cmnd::cmnd) and fix it.

Doug Gilbert



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>