[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interface for SCSI transactions ?
From: |
olafBuddenhagen |
Subject: |
Re: Interface for SCSI transactions ? |
Date: |
Tue, 6 Sep 2011 01:28:13 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
On Tue, Sep 06, 2011 at 12:33:00AM +0200, Samuel Thibault wrote:
> However, I realize that the status parameter of the device_get_status
> RPC is out only, not inout, so device_get_status alone can not provide
> complete support. One way would be to use a set/get pair.
Well, if we need to go for a multi-RPC approach, I'd suggest doing it
*properly*, i.e. using get_status/set_status only for actual control
information, and pass the data with read/write calls.
> Another way would be to define a new device_command RPC, and extend
> the device_emulation_ops structure with it.
This indeed might be a more pragmatic approach...
-antrik-
Re: Interface for SCSI transactions ?,
olafBuddenhagen <=
Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/08
Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/09
Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/10
Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/12
Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/12