]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid1: make sequential read detection per disk based
authorShaohua Li <shli@kernel.org>
Tue, 31 Jul 2012 00:03:53 +0000 (10:03 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 31 Jul 2012 00:03:53 +0000 (10:03 +1000)
commit01da4b05406b3af22d159561f5fa23922575fedc
tree1fc4e6d04fd57667b6b496ae6165d08f59405743
parent551ff5f5c2c82832037c7b6cd1785ce11b2fe997
md/raid1: make sequential read detection per disk based

Currently the sequential read detection is global wide. It's natural to make it
per disk based, which can improve the detection for concurrent multiple
sequential reads. And next patch will make SSD read balance not use distance
based algorithm, where this change help detect truly sequential read for SSD.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid1.h