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

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

 



On Fri, 2015-05-01 at 10:43 -0700, Andy Grover wrote:
> TCMU requires more work to correctly handle both user handlers that want
> all SCSI commands (pass_level=0) for a se_device, and also handlers that
> just want I/O commands and let the others be emulated by the kernel
> (pass_level=1). Only support the latter for now.
> 
> For full passthrough, we will need to support a second se_subsystem_api
> template, due to configfs attributes being different between the two modes.
> Thus pass_level is extraneous, and we can remove it.
> 
> The ABI break for TCMU v2 is already applied for this release, so it's
> best to do this now to avoid another ABI break in the future.
> 
> Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>
> ---
>  Documentation/target/tcmu-design.txt | 18 ++++------
>  drivers/target/target_core_user.c    | 68 ++----------------------------------
>  2 files changed, 10 insertions(+), 76 deletions(-)

Applied to target-pending/master.

Thanks Andy + HCH.

--nab

--
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