• Nicholas Bellinger's avatar
    ib_srpt: Convert to percpu_ida tag allocation · 0fd10721
    Nicholas Bellinger authored
    This patch converts ib_srpt to use existing percpu_ida tag
    pre-allocation for struct srpt_send_ioctx.
    
    This allows ib_srpt to drop it's internal pre-allocation
    mechanisms with the extra spin_lock_irqsave, and use
    percpu_ida common code for doing this.
    
    Cc: Vu Pham <vu@mellanox.com>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Bart Van Assche <bvanassche@acm.org>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    0fd10721
ib_srpt.c 92.6 KB