commit | 45d4582f219619e368ea91ea1189085e1c5f1969 | [log] [tgz] |
---|---|---|
author | Sandeep K Sinha <sandeepksinha@gmail.com> | Tue Jun 16 16:55:26 2009 +1000 |
committer | NeilBrown <neilb@suse.de> | Tue Jun 16 16:55:26 2009 +1000 |
tree | 15c38d1090d67ecb600c395a5155f2630804d851 | |
parent | 070ec55d07157a3041f92654135c3c6e2eaaf901 [diff] |
md: Removal of hash table in linear raid Get rid of sector_div and hash table for linear raid and replace with a linear search in which_dev. The hash table adds a lot of complexity for little if any gain. Ultimately a binary search will be used which will have smaller cache foot print, a similar number of memory access, and no divisions. Signed-off-by: Sandeep K Sinha <sandeepksinha@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>