]> git.baikalelectronics.ru Git - kernel.git/commit
target: Add target_alloc_session() helper function
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 9 Jan 2016 13:29:24 +0000 (05:29 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 27 Feb 2016 22:59:42 +0000 (14:59 -0800)
commite42babc6ea72a2d9a11d4bf72f4a4e9fd1735f0c
tree61e2af681747125dddf84fab7082ded53eabe37f
parentfc059194424790f3ec210889115aaee771322de5
target: Add target_alloc_session() helper function

Based on HCH's original patch, this adds a full version to
support percpu-ida tag pre-allocation and callback function
pointer into fabric driver code to complete session setup.

Reported-by: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
include/target/target_core_fabric.h