commit | 4949314c7283ea4f9ade182ca599583b89f7edd6 | [log] [tgz] |
---|---|---|
author | Andy Grover <agrover@redhat.com> | Mon Jan 16 16:57:08 2012 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Jan 18 08:35:58 2012 +0000 |
tree | bbd2316996bc2f19c1b3a8c24f8591f12d2330fa | |
parent | e8904dc5008ef92f0f62391d6557f03f921eeb32 [diff] |
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>