Re: [PATCH 1/2] target: Add target_complete_cmd_with_length()

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

 



On Tue, 2014-06-10 at 11:07 -0700, Roland Dreier wrote:
> From: Roland Dreier <roland@xxxxxxxxxxxxxxx>
> 
> When an initiator sends an allocation length bigger than what its
> command consumes, the target should only return the actual response data
> and set the residual length to the unused part of the allocation length.
> 
> Add a helper function that command handlers (INQUIRY, READ CAPACITY,
> etc) can use to do this correctly.
> 
> Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx>

Applied to for-next. 

Thanks Roland!

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