diff options
author | Garrett D'Amore <garrett@nexenta.com> | 2011-05-02 12:32:04 -0700 |
---|---|---|
committer | Garrett D'Amore <garrett@nexenta.com> | 2011-05-02 12:32:04 -0700 |
commit | 5b6f569b5403bc351b9ff37e1c0822e78b6ecac5 (patch) | |
tree | ff66b3392950543c970b5898fd3b88f7ccaec18a /usr/src/uts/common/io/scsi/targets/sd.c | |
parent | 63ff6dceb8bca4c7bef31895a1286319033330d0 (diff) | |
download | illumos-gate-5b6f569b5403bc351b9ff37e1c0822e78b6ecac5.tar.gz |
975 disable disksort for SSDs
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Diffstat (limited to 'usr/src/uts/common/io/scsi/targets/sd.c')
-rw-r--r-- | usr/src/uts/common/io/scsi/targets/sd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/scsi/targets/sd.c b/usr/src/uts/common/io/scsi/targets/sd.c index 6ba7c4d7c1..fee26825ae 100644 --- a/usr/src/uts/common/io/scsi/targets/sd.c +++ b/usr/src/uts/common/io/scsi/targets/sd.c @@ -31674,6 +31674,8 @@ sd_check_solid_state(sd_ssc_t *ssc) */ if (inqb1[4] == 0 && inqb1[5] == 1) { un->un_f_is_solid_state = TRUE; + /* solid state drives don't need disksort */ + un->un_f_disksort_disabled = TRUE; } mutex_exit(SD_MUTEX(un)); } else if (rval != 0) { |