diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-12-17 16:01:27 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-01-11 14:43:13 +0100 |
commit | 242d98f077ac0ab80920219769eb095503b93f61 (patch) | |
tree | df4bd59a6db181b796ff8687339e4335e2c59104 /drivers/scsi/qlogicpti.c | |
parent | Linux 3.8-rc3 (diff) | |
download | linux-242d98f077ac0ab80920219769eb095503b93f61.tar.xz linux-242d98f077ac0ab80920219769eb095503b93f61.zip |
block,elevator: use new hashtable implementation
Switch elevator to use the new hashtable implementation. This reduces the
amount of generic unrelated code in the elevator.
This also removes the dymanic allocation of the hash table. The size of the table is
constant so there's no point in paying the price of an extra dereference when accessing
it.
This patch depends on d9b482c ("hashtable: introduce a small and naive
hashtable") which was merged in v3.6.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
0 files changed, 0 insertions, 0 deletions