Re: [PATCHv2] target/user: Disallow full passthrough (pass_level=0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 04, 2015 at 12:54:30PM +0300, Ilias Tsitsimpis wrote:
> Another thing I've noticed is that 'pass_level=1' (which is the default
> TCMU behavior now) only allows *SBC* IO-related commands, and not all
> IO-related commands. For example, 'pass_level=1' cannot be used for SCSI
> OSD commands. This is not necessarily a bad thing, but maybe we should
> make it a little more obvious in the documentation.

Yes, like all current non-passthrough target backends.  While others
should be doable with only small changes to the core no one had any
interest to implement them so far.

> I have only used full passthrough (pass_level=0) before, but I can see
> how 'pass_level=1' may be useful to other people. I hope we can
> reinstate full passthrough support again soon.

Send a patch to add it:  you just need a second template with a different
name that sets the right transport_type for passthrough, and implements
a parse_cdb method similar to pscsi.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux