Mike Snitzer
b277da0a8a
block: disable entropy contributions for nonrot devices
...
Clear QUEUE_FLAG_ADD_RANDOM in all block drivers that set
QUEUE_FLAG_NONROT.
Historically, all block devices have automatically made entropy
contributions. But as previously stated in commit e2e1a148 ("block: add
sysfs knob for turning off disk entropy contributions"):
- On SSD disks, the completion times aren't as random as they
are for rotational drives. So it's questionable whether they
should contribute to the random pool in the first place.
- Calling add_disk_randomness() has a lot of overhead.
There are more reliable sources for randomness than non-rotational block
devices. From a security perspective it is better to err on the side of
caution than to allow entropy contributions from unreliable "random"
sources.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2014-10-04 10:55:32 -06:00
..
2013-01-03 15:57:03 -08:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2014-08-05 21:16:46 -07:00
2013-11-26 11:09:07 +01:00
2013-01-03 15:57:03 -08:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-11-14 18:21:25 -05:00
2013-01-03 15:57:03 -08:00
2013-07-10 12:09:10 -07:00
2012-10-06 03:04:41 +09:00
2009-06-15 18:52:58 +02:00
2013-09-05 15:21:29 -04:00
2013-01-03 15:57:03 -08:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00
2014-08-05 21:16:46 -07:00
2012-01-13 09:32:20 +10:30
2013-12-07 01:05:50 +01:00
2011-10-31 19:31:37 -04:00
2011-04-21 19:43:59 +02:00
2014-01-28 23:35:09 -08:00
2013-07-03 16:07:41 -07:00
2011-03-09 19:54:27 +01:00
2012-06-12 15:51:41 -07:00
2010-03-30 22:02:32 +09:00
2010-10-05 15:01:10 +02:00
2013-04-09 14:13:32 -04:00
2014-10-04 10:55:32 -06:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2012-01-14 15:07:24 -08:00
2013-04-09 14:13:32 -04:00
2011-11-08 22:35:46 +01:00
2013-07-03 16:07:41 -07:00
2009-05-17 19:12:25 +02:00
2011-10-31 19:31:37 -04:00
2011-04-05 23:52:49 +02:00
2013-09-05 15:21:29 -04:00
2010-01-19 01:41:57 -08:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2014-08-28 10:03:46 -06:00
2013-01-03 15:57:03 -08:00
2014-01-28 23:35:09 -08:00
2012-08-21 14:54:42 -07:00
2011-10-31 19:31:37 -04:00
2014-03-04 15:58:31 -05:00
2013-04-09 14:13:32 -04:00
2011-05-16 14:24:46 -07:00
2013-10-16 18:40:57 -07:00
2013-07-03 16:07:41 -07:00
2013-07-10 12:09:10 -07:00
2010-01-19 11:30:09 -08:00
2011-10-31 19:31:37 -04:00
2013-10-16 18:40:57 -07:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2014-03-17 15:57:28 -04:00
2011-10-31 19:31:37 -04:00
2013-09-16 18:19:04 -07:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-09-05 15:21:29 -04:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-11-14 18:21:25 -05:00
2011-10-31 19:31:37 -04:00
2012-10-06 03:04:41 +09:00
2009-06-15 22:13:44 +02:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2011-10-31 19:31:37 -04:00
2013-09-05 15:21:30 -04:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-09-05 15:21:29 -04:00
2013-03-08 12:38:15 -05:00
2012-10-06 03:04:41 +09:00
2013-01-03 15:57:03 -08:00