Bug 83121 - reiserfs silent data corruption
Summary: reiserfs silent data corruption
Status: RESOLVED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: ReiserFS (show other bugs)
Hardware: All Linux
: P1 high
Assignee: ReiseFS developers team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-24 13:03 UTC by Misha Labjuk
Modified: 2014-09-21 16:37 UTC (History)
9 users (show)

See Also:
Kernel Version: 3.16.1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Misha Labjuk 2014-08-24 13:03:41 UTC
In 3.16.1 kernel corrupt files in reiserfs filesystem. Data in changed files truncated or have garbage at front. Filesystem is clean and reiserfsck found nothing.

kernel 3.16.0 working without data loss.
kernel 3.16.1 also working on SSD drive but corrupt data on hard drive.

Data corruption detected by gentoo portage system. /usr/portage live in reiserfs partition and updated files have incorrect checksum.
Comment 1 Misha Labjuk 2014-08-24 19:25:45 UTC
3.16.0 corrupt data too. 3.16.1 truncate short files more aggressive.
Comment 2 Thomas Will 2014-08-26 19:07:28 UTC
Same to me. I can confirm this on 3 different amd64 machines.
Comment 3 Charles Nérot 2014-08-28 13:34:13 UTC
https://bugzilla.kernel.org/show_bug.cgi?id=83321 may be a duplicate of this one.
Comment 4 Matthew 2014-08-28 15:10:44 UTC
the specific fix for this specific issue is probably the latter of the following two:

Jan Kara (1):
      reiserfs: Fix use after free in journal teardown

Jeff Mahoney (1):
      reiserfs: fix corruption introduced by balance_leaf refactor


source:
http://marc.info/?l=linux-kernel&m=140785640315057&w=2
Comment 5 Bob Raitz 2014-09-04 20:36:54 UTC
Adding name to get updates from this bug.
Comment 6 kouyu 2014-09-06 12:51:24 UTC
Mark for getting this bug updates.
Comment 7 kouyu 2014-09-06 12:52:28 UTC
(In reply to kouyu from comment #6)
> Mark for getting this bug updates.
Comment 8 Misha Labjuk 2014-09-10 17:43:38 UTC
3.16.2: no changes in fs/reisefs

Let people loss more data, hate reiserfs and go to test btrfs :)
Comment 9 Alexander Bezrukov 2014-09-20 12:28:35 UTC
I can confirm that with 3.16.3 (which contains abovementioned, see comment #4, reiserfs set of patches) the issue went out, I cannot reproduce it anymore.
Comment 10 Misha Labjuk 2014-09-21 16:37:29 UTC
fixed in 3.16.3

Note You need to log in before you can comment on or make changes to this bug.