diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-01-25 10:34:50 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-04 21:31:37 -0500 |
commit | fd1b6687091450b0ca3303c97f45ecd87401c3d7 (patch) | |
tree | fd501bf5ed6adf087faf2ffa22fbf1a949f569cf /drivers/virtio | |
parent | 337ec69ed761ae02a5d1226d607c487fedbd8dd7 (diff) |
scsi: RDMA/srpt: Rework I/O context allocation
Instead of maintaining a list of free I/O contexts, use an sbitmap data
structure to track which I/O contexts are in use and which are free. This
makes the ib_srpt driver more consistent with other LIO drivers.
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions