storage_info: Change smartctl -x blacklist rule to cover more version
Some Sandisk SSD hang when we read PHY statistic from the SSD using
"smartctl -x" command. This change updates the smartctl -x blacklist
rule to cover more SSD model/firmware combination that contain this bug.
Also add unit test to test for these rules.
BUG=chromium:328587
TEST=Boot normally in chromebook with defect SSD and unit test pass
Change-Id: Ie17d96071d32db04eecfd70f4d39682d4bb84da1
Reviewed-on: https://chromium-review.googlesource.com/182502
Commit-Queue: Puthikorn Voravootivat <puthik@chromium.org>
Tested-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
2 files changed