]> git.karo-electronics.de Git - linux-beck.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)
commit09314799e4f0589e52bafcd0ca3556c60468bc0e
tree012392cba7377a5db8c4c9e4c639337a6501cb46
parent50c37b136a3807eda44afe16529b5af701ec49f5
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