From: Nate Diller Date: Tue, 24 Jan 2006 09:07:58 +0000 (+0100) Subject: [BLOCK] elevator: default choice selection X-Git-Tag: v2.6.16-rc2~249^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f00397644e01adfbebafb5d0ebc01eba522709d;p=pandora-kernel.git [BLOCK] elevator: default choice selection My previous default iosched patch did a poor job dealing with the 'elevator=' boot-time option. The old behavior falls back to the compiled-in default if the requested one is not registered at boot time. This patch dynamically evaluates which default to use, and emits a suitable error message when the requested scheduler is not available. It also does the 'as' -> 'anticipatory' conversion before elevator registration, which along with a modified registration function, allows it to correctly indicate which default scheduler is in use. Tested for a range of boot options on 2.6.16-rc1-mm2. Signed-off-by: Nate Diller Signed-off-by: Jens Axboe --- Reading git-diff-tree failed