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)
commit5a3ee221b543100ce3bed5b59bfb155d0ef293b7
tree52f44c780fdb94f98699bc3821ffd347e515bc0e
parentb42057ab174d227d79eb426a9c66fb52cc2275ed
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