summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-07-14 07:59:30 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 21:14:50 +0200
commitf27bac2761cab5a2e212dea602d22457a9aa6943 (patch)
treef2ebed0b9d35298697c96ac8896ec34ba2a07a78 /include/scsi
parent[SCSI] fix shared tag map tag allocation (diff)
downloadlinux-f27bac2761cab5a2e212dea602d22457a9aa6943.tar.xz
linux-f27bac2761cab5a2e212dea602d22457a9aa6943.zip
[SCSI] sd: update index allocation and use ida instead of idr
Update index allocation as follows. * sd_index_idr is used only for ID allocation and mapping functionality is not used. Use more memory efficient ida instead. * idr and ida have their own locks inside them and don't need them for operation. Drop it. * index wasn't freed if probing failed after index allocation. fix it. * ida allocation should be repeated if it fails with -EAGAIN. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions