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

Forbid system access to disk after error

parent 0f82e7a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1213,8 +1213,8 @@ void error_handler(struct elphel_ahci_priv *dpriv)
	unsigned long deadline = jiffies + msecs_to_jiffies(DEFAULT_CMD_TIMEOUT);

	dump_current_state(dpriv);
	printk(KERN_DEBUG "reset command queue and all flags\n");
	reset_all_commands(dpriv);
//	printk(KERN_DEBUG "reset command queue and all flags\n");
//	reset_all_commands(dpriv);


	/* the following commented code was used to try recovery after IO error */