commit | 429ebfa69b8a456194cd424772dace40b1c3f963 | [log] [tgz] |
---|---|---|
author | Uma Krishnan <ukrishn@linux.vnet.ibm.com> | Mon Mar 26 11:32:00 2018 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Apr 18 19:32:48 2018 -0400 |
tree | 836a76df50353bb4bbb40f94f3700714f520db2e | |
parent | f6b4557c98121e5571c484b037897130d898287c [diff] |
scsi: cxlflash: Use IDR to manage adapter contexts A range of PASIDs are used as identifiers for the adapter contexts. These contexts may be destroyed and created randomly. Use an IDR to keep track of contexts that are in use and assign a unique identifier to new ones. Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>