[Stgt-devel] [PATCH 4/4] OSD command parser

Pete Wyckoff pw
Sun Feb 25 01:20:52 CET 2007


fujita.tomonori at lab.ntt.co.jp wrote on Fri, 23 Feb 2007 08:26 +0900:
> From: Pete Wyckoff <pw at osc.edu>
> Subject: Re: [Stgt-devel] [PATCH 4/4] OSD command parser
> Date: Wed, 21 Feb 2007 13:30:58 -0500
>
> > We'll still have to do something with bkio_submit_t to support
> > bidirectional and to support returning both data and sense.  I have
> > such a thing for OSD but have not tried to make all the other
> > devices fit it pending your perusal.
> 
> If you send these patches, I'll try to fix and merge them.
> 
> > The other largish piece I'm carrying around is AHS support for
> > iscsi.
> 
> ditto.

I'm still working on bidirectional support.  It's held up as I'm
having initiator issues, making it somewhat hard to test.

But the extended CDB and AHS handling should be okay, as well as
returning data and sense.  Let me know if you'd like any changes
to these next four.

01 track-target-type
	Trivial, need this to switch on target type in scsi.c
	eventually.

02 pass-scb-length
	Give length of CDB to target.

03 parse-iscsi-ahs-header-for-ext
	iscsi: parse AHS and handle extended CDB.

04 return-sense-data-in-iscsi-res
	Return sense data separate from requsted data.  May want
	to fix tgtif to hand it back into kernel too sometime.

		-- Pete



More information about the stgt mailing list