diff options
author | Gwendal Grignou <gwendal@google.com> | 2013-06-18 10:54:48 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-18 11:35:30 -0700 |
commit | 78062c50d15d6a0adfa09f6e35a6c52abcc9a32d (patch) | |
tree | 6f4e8b2674a5d48dcd9628d064eb335ac9f91e86 /fs/ext4/ext4_extents.h | |
parent | 1e8f5f761ca3636bb6e281d9dd8adfa887b38eea (diff) | |
download | linux-78062c50d15d6a0adfa09f6e35a6c52abcc9a32d.tar.bz2 |
libata: cleanup SAT error translation
- Remove duplicate Medium Error Entry.
- Fix translations to match SAT2 translation table.
- Remove warning messages when translation is not found when decoding
error or status register.
- Goes through status register decoding when only ABRT bit is set in
error register.
Tested: When a disk fails, it sets
Status = 0x71 [DRDY DF ERR] , Error = 0x4 [ABRT]
This patch will make the sense key HARDWARE_ERROR instead.
When there is a simple command syntax error:
Status = 0x51 [DRDY ERR] , Error = 0x4 [ABRT]
The sense key remains ABORTED_COMMAND.
tj: Some updates to the description and comments.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/ext4/ext4_extents.h')
0 files changed, 0 insertions, 0 deletions