diff options
| author | Chester Kener <Cl3Kener@gmail.com> | 2014-02-25 10:23:44 -0500 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-01 12:06:57 +0200 |
| commit | cb24b2745f92af1fb44318cc72f1a692a69919c6 (patch) | |
| tree | 12036cc83bfa4c99e27fceca84bba737f8c058b2 /include | |
| parent | 1b5de2632a0aa5d9911fb6e34548579d67d45dd7 (diff) | |
block: Disable add_random
add_random was implemented for spinning hard disks. It only slows SSDs down. Read here http://wiki.samat.org/SSD for more info.
Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Signed-off-by: engstk <eng.stk@sapo.pt>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 2e9fc2b42..19d64d2ad 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -557,7 +557,7 @@ struct request_queue { #define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \ (1 << QUEUE_FLAG_STACKABLE) | \ (1 << QUEUE_FLAG_SAME_COMP) | \ - (1 << QUEUE_FLAG_ADD_RANDOM)) + (0 << QUEUE_FLAG_ADD_RANDOM)) static inline void queue_lockdep_assert_held(struct request_queue *q) { |
