]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 8 Apr 2015 02:57:50 +0000 (12:57 +1000)
commit9718d46175e241a9deeb9f7e96a32e4bf7cca522
treea4fa118e5df4ebcbd5b5f1aa04cb92773a515493
parent2254c573d4af86a2a362d412a2afb69b864ed300
md: remove 'go_faster' option from ->sync_request()

This option is not well justified and testing suggests t hat
it hardly ever make 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 simply 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