commit | 34dd82afd27da2537199d7f71f1542501c6f96e7 | [log] [tgz] |
---|---|---|
author | Kay Sievers <kay.sievers@vrfy.org> | Sun Jul 31 22:08:04 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sun Jul 31 22:08:04 2011 +0200 |
tree | 35688ccd99d99e16f3c82829eb824703e7460822 | |
parent | aa387cc895672b00f807ad7c734a2defaf677712 [diff] |
loop: replace linked list of allocated devices with an idr index Replace the linked list, that keeps track of allocated devices, with an idr index to allow a more efficient lookup of devices. Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>