Update SCSI hosts to use ida for host number mgmt
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest1 patch 23 repliesIn review
- v31 patch 3 repliesSuperseded
- v21 patch 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 5 replies | Superseded |
Changes in v4 from the cover letter
- Switched from idr to ida since managing our instance pointer required extra locking
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | SCSI: hosts: update to use ida_simple for host_no managementdrivers/ | +14 | 23 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv4 0/1] Update SCSI hosts to use ida for host number mgmt
This patch updates the SCSI hosts module to use the ida index-management routines to manage its host_no index instead of using an ATOMIC integer. This means that host numbers can now be reclaimed and re-used.
NOTE: it was not feasible to use idr_*() functions instead of ida_*() functions, since using idr_find() without additional locking to find our Scsi_Host structure left a window between idr lookup and host structure deletion that would have required additional locking to close.
Changes from v3:
- Switched from idr to ida since managing our instance pointer required extra locking
Changes from v2 and v1:
- First two version used idr instead of ida
Lee Duncan (1):
SCSI: hosts: update to use ida_simple for host_no management
drivers/scsi/hosts.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-)
Signature · 1 line
2.1.4