diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-07 12:22:39 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-01-30 12:34:37 +0100 |
commit | 1308835ffffe6d61ad1f48c5c381c9cc47f683ec (patch) | |
tree | 5430cde36604537fdc3c597f53f65cba990f08fd /block/elevator.c | |
parent | 16642eb68216d8e0e136a99e514e9166e7125838 (diff) | |
download | linux-1308835ffffe6d61ad1f48c5c381c9cc47f683ec.tar.bz2 |
block: export SSD/non-rotational queue flag through sysfs
For some devices (i.e. CFA ATA) we can't reliably detect whether
the device is of rotational or non-rotational type so we need to
leave the final decision about this setting to the user-space.
As a bonus do a minor CodingStyle fixup in queue_nomerges_store().
Suggested-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions