Files
linux-legacy/drivers
Tejun Heo f27bac2761 [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>
2008-07-26 15:14:50 -04:00
..
…
2008-07-25 10:56:36 -07:00
…
2008-07-24 10:47:41 -07:00
…
…
…
2008-07-25 10:53:49 -07:00
…
2008-07-25 10:53:30 -07:00
…
…
2008-07-25 10:53:30 -07:00
…
…
…
2008-07-25 17:39:36 -07:00
2008-07-25 10:53:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2008-07-25 10:53:30 -07:00