]> 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)
commitea6ae478b1dbe717ced64e5f4449a1bd2d3e47cd
tree52f44c780fdb94f98699bc3821ffd347e515bc0e
parenteaad1ec48c0a89d5d0ed358fdc3ce9edf95ca42e
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