[LU-8411] Fix Lustre filesystem corruption when updating journal superblock fails Created: 18/Jul/16 Updated: 26/Aug/19 Resolved: 31/Jan/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Artem Blagodarenko (Inactive) | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
During validation of issue we encountered another data corruption. It looks like the corruption occurred because the external journal went offline but the filesystem processed the transaction as if successful. Jun 9 08:33:41 cslcodev912 kernel: JBD2: I/O error detected when updating journal superblock for md129.
Buffer I/O error on device md0, logical block 0
commit 6f6a6fda294506dfe0e3e0a253bb2d2923f28f0a
Author: Joseph Qi <joseph.qi@huawei.com>
Date: Mon Jun 15 14:36:01 2015 -0400
jbd2: fix ocfs2 corrupt when updating journal superblock fails
If updating journal superblock fails after journal data has been
flushed, the error is omitted and this will mislead the caller as a
normal case.
This directly addressed reported issue. 6f6a6fda294506dfe0e3e0a253bb2d2923f28f0a jbd2: fix ocfs2 corrupt when updating journal superblock fails If updating journal superblock fails after journal data has been The issue discussion mail can be found at: [Fixed bug in patch which allowed a non-negative error return from |
| Comments |
| Comment by Gerrit Updater [ 18/Jul/16 ] |
|
Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: http://review.whamcloud.com/21398 |
| Comment by Gerrit Updater [ 31/Jan/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/21398/ |
| Comment by Peter Jones [ 31/Jan/17 ] |
|
Landed for 2.10 |