diff options
author | Damien Le Moal <[email protected]> | 2019-09-05 18:51:32 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-09-05 19:52:34 -0600 |
commit | a0958ba7fcdc316e3900f8d2afda519850d60985 (patch) | |
tree | 6a8167c62b6a585670ffaf11a37e10cf06e2f953 /lib/test_overflow.c | |
parent | 68c43f133a754c7bf5cb1018bb16dc0821cc43a1 (diff) |
block: Improve default elevator selection
For block devices that do not specify required features, preserve the
current default elevator selection (mq-deadline for single queue
devices, none for multi-queue devices). However, for devices specifying
required features (e.g. zoned block devices ELEVATOR_F_ZBD_SEQ_WRITE
feature), select the first available elevator providing the required
features.
In all cases, default to "none" if no elevator is available or if the
initialization of the default elevator fails.
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions