12070 sata SSDs attached to sata ports can't trim

Review Request #2472 — Created Dec. 10, 2019 and submitted

jjelinek
illumos-gate
12070
general

Fix the sata trim detection code to match the spec.



danmcd
  1. Not sure if it would disrupt the code flow to explain why we're checking for the ai_dsm TRIM bit first. The bug report explains this nicely, wasn't sure if it should end up in the (seemingly sparsely-commented) sd code as well. Not a deal-breaker, though.

    1. Thanks, I'll add an improved comment.

  2. 
      
jjelinek
danmcd
  1. Ship It!
  2. 
      
jjelinek
Review request changed

Status: Closed (submitted)

Loading...