diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-06-09 10:42:09 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:13:00 +0200 |
commit | e2e1a148bc45855816ae6b4692ce29d0020fa22e (patch) | |
tree | fd5ec8a580d4333b471acfe50f6f92b4cc880087 /Documentation/.gitignore | |
parent | 841fdffdd382722d33579a6aa1487e8a4e526dbd (diff) | |
download | op-kernel-dev-e2e1a148bc45855816ae6b4692ce29d0020fa22e.zip op-kernel-dev-e2e1a148bc45855816ae6b4692ce29d0020fa22e.tar.gz |
block: add sysfs knob for turning off disk entropy contributions
There are two reasons for doing this:
- 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.
This adds /sys/block/<dev>/queue/add_random that will allow you to
switch off on a per-device basis. The default setting is on, so there
should be no functional changes from this patch.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'Documentation/.gitignore')
0 files changed, 0 insertions, 0 deletions