Commit 3e584be6 authored by Mikhail Karpenko's avatar Mikhail Karpenko

Forbid system access to disk after error

parent 0f82e7a6
...@@ -1213,8 +1213,8 @@ void error_handler(struct elphel_ahci_priv *dpriv) ...@@ -1213,8 +1213,8 @@ void error_handler(struct elphel_ahci_priv *dpriv)
unsigned long deadline = jiffies + msecs_to_jiffies(DEFAULT_CMD_TIMEOUT); unsigned long deadline = jiffies + msecs_to_jiffies(DEFAULT_CMD_TIMEOUT);
dump_current_state(dpriv); dump_current_state(dpriv);
printk(KERN_DEBUG "reset command queue and all flags\n"); // printk(KERN_DEBUG "reset command queue and all flags\n");
reset_all_commands(dpriv); // reset_all_commands(dpriv);
/* the following commented code was used to try recovery after IO error */ /* the following commented code was used to try recovery after IO error */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment