Bug 459337

Summary: dm-snap.c: Data read from snapshot may be corrupt if origin is being written to simultaneously
Product: Red Hat Enterprise Linux 5 Reporter: Mikuláš Patočka <mpatocka>
Component: kernelAssignee: Mikuláš Patočka <mpatocka>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: medium    
Version: 5.3CC: bmr, bstevens, coughlan, djuran, dwysocha, jbaron, jblunck, jbrassow, jlayton, lmb, mbroz
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:17:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 175830    
Bug Blocks:    
Attachments:
Description Flags
PATCH 1/2 --- add I/O tracking infrastructure
none
PATCH 2/2 --- fix this bug
none
first testcase
none
second testcase none

Comment 1 Mikuláš Patočka 2008-08-19 20:59:47 UTC
Created attachment 314570 [details]
PATCH 1/2 --- add I/O tracking infrastructure

The first patch. Adds infrastructure for the second patch that fixes the bug.

Comment 2 Mikuláš Patočka 2008-08-19 21:01:30 UTC
Created attachment 314571 [details]
PATCH 2/2 --- fix this bug

Fixes the bug.

Comment 3 Mikuláš Patočka 2008-08-19 21:04:17 UTC
Created attachment 314572 [details]
first testcase

A testcase for this bug. Adjust name of VG, LV and size in the defines at the beginning.

Comment 4 Mikuláš Patočka 2008-08-19 21:05:55 UTC
Created attachment 314573 [details]
second testcase

Second testcase. Schedules slightly differently than the first one, otherwise it is identical.

Comment 5 Don Zickus 2008-09-11 19:44:06 UTC
in kernel-2.6.18-111.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 9 errata-xmlrpc 2009-01-20 20:17:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0225.html