]> 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)
commitdd24bb8df9141e6ff9a01e520b32e25d1d223d89
tree61e2af681747125dddf84fab7082ded53eabe37f
parent291f3a266c2fb4cc67da2041222dede88422e1f3
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