Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
3e584be6
Commit
3e584be6
authored
Dec 10, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forbid system access to disk after error
parent
0f82e7a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ahci_elphel.c
src/drivers/ata/ahci_elphel.c
+2
-2
No files found.
src/drivers/ata/ahci_elphel.c
View file @
3e584be6
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment