]> git.baikalelectronics.ru Git - kernel.git/commit
target: Allow control CDBs with data > 1 page
authorAndy Grover <agrover@redhat.com>
Tue, 17 Jan 2012 00:57:08 +0000 (16:57 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 18 Jan 2012 08:35:58 +0000 (08:35 +0000)
commitab8667c2cd299406c879f9990b0def7763731778
treebbd2316996bc2f19c1b3a8c24f8591f12d2330fa
parent58679f9498d66f638a8e5c6f5826bc27785ebe3c
target: Allow control CDBs with data > 1 page

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@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_cdb.c
drivers/target/target_core_device.c
drivers/target/target_core_pr.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_transport.c
include/target/target_core_backend.h
include/target/target_core_base.h