diff options
author | Jens Axboe <axboe@fb.com> | 2015-06-10 08:01:20 -0600 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-08 10:44:43 +0100 |
commit | 9f407fff1b2464c272419651d82f10cc658d372f (patch) | |
tree | 1a2d0498265934ebbebd88a1b59adc33f1499b4a /arch/arm/mach-s3c2410/h1940-bluetooth.c | |
parent | 87d9ce64dc77a1f03c9514a3ac973e008b9abe0c (diff) | |
download | kernel_samsung_tuna-9f407fff1b2464c272419651d82f10cc658d372f.tar.gz kernel_samsung_tuna-9f407fff1b2464c272419651d82f10cc658d372f.tar.bz2 kernel_samsung_tuna-9f407fff1b2464c272419651d82f10cc658d372f.zip |
cfq-iosched: fix the setting of IOPS mode on SSDs
A previous commit wanted to make CFQ default to IOPS mode on
non-rotational storage, however it did so when the queue was
initialized and the non-rotational flag is only set later on
in the probe.
Add an elevator hook that gets called off the add_disk() path,
at that point we know that feature probing has finished, and
we can reliably check for the various flags that drivers can
set.
Change-Id: Ieaf0beed1efc0ace7e61766e725647c6509e9852
Fixes: 41c0126b ("block: Make CFQ default to IOPS mode on SSDs")
Tested-by: Romain Francoise <romain@orebokech.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'arch/arm/mach-s3c2410/h1940-bluetooth.c')
0 files changed, 0 insertions, 0 deletions