Re: [PATCH 3/3] target: Allow control CDBs with data > 1 page

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

 



On Mon, 2012-01-16 at 16:57 -0800, Andy Grover wrote:
> We need to handle >1 page control cdbs, so extend the code to do a vmap
> if bigger than 1 page. It seems like kmap() is still preferable if just
> a page, fewer TLB shootdowns(?), so keep using that when possible.
> 
> Rename function pair for their new scope.
> 
> Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>
> ---
>  drivers/target/target_core_alua.c      |    8 +++---
>  drivers/target/target_core_cdb.c       |   28 ++++++++++----------
>  drivers/target/target_core_device.c    |    4 +-
>  drivers/target/target_core_pr.c        |   38 +++++++++++++-------------
>  drivers/target/target_core_pscsi.c     |    4 +-
>  drivers/target/target_core_transport.c |   45 ++++++++++++++++++++++++--------
>  include/target/target_core_backend.h   |    4 +-
>  include/target/target_core_base.h      |    1 +
>  8 files changed, 78 insertions(+), 54 deletions(-)
> 

Thanks alot for fixing this up Andy.  Applied to lio-core, and will plan
to queue this via target-pending/3.3-rc-fixes + CC'ed to stable for v3.2
once it gets a little more testing..

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