]> git.baikalelectronics.ru Git - kernel.git/commit
sbp-target: Conversion to percpu_ida tag pre-allocation
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 23 Jan 2016 09:04:36 +0000 (01:04 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Mar 2016 05:48:09 +0000 (21:48 -0800)
commit6bdaeb5f498695b4b5187d946408a1b8c81e60e6
tree52f44c780fdb94f98699bc3821ffd347e515bc0e
parent8597700405c884650f70c5c9e82e92116a290b1f
sbp-target: Conversion to percpu_ida tag pre-allocation

This patch converts sbp-target to use struct sbp_target_request
descriptor tag pre-allocation using percpu_ida.

(Fix sbp_mgt_get_req() IS_ERR failure checking - Dan Carpenter)
(Add missing sbp_target_request tag memset - Chris Boot)

Acked-by: Chris Boot <bootc@bootc.net>
Tested-by: Chris Boot <bootc@bootc.net>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/sbp/sbp_target.c