commit | 1308835ffffe6d61ad1f48c5c381c9cc47f683ec | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jan 07 12:22:39 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jan 30 12:34:37 2009 +0100 |
tree | 5430cde36604537fdc3c597f53f65cba990f08fd | |
parent | 16642eb68216d8e0e136a99e514e9166e7125838 [diff] |
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>