]> git.baikalelectronics.ru Git - kernel.git/commit
md: remove 'go_faster' option from ->sync_request()
authorNeilBrown <neilb@suse.de>
Thu, 19 Feb 2015 05:04:40 +0000 (16:04 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 21 Apr 2015 22:00:40 +0000 (08:00 +1000)
commita23ccd956cd0d70aced52528efa69ade08b5c933
tree012392cba7377a5db8c4c9e4c639337a6501cb46
parentfaaf152b75adb43d9156f510dbccb1266a2bdaac
md: remove 'go_faster' option from ->sync_request()

This option is not well justified and testing suggests that
it hardly ever makes any difference.

The comment suggests there might be a need to wait for non-resync
activity indicated by ->nr_waiting, however raise_barrier()
already waits for all of that.

So just remove it to simplify reasoning about speed limiting.

This allows us to remove a 'FIXME' comment from raid5.c as that
never used the flag.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/md.h
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c