Bug 236624

Summary: dm-mirror: Call to rh_in_sync should be allowed to block in do_reads
Product: Red Hat Enterprise Linux 5 Reporter: Jonathan Earl Brassow <jbrassow>
Component: kernelAssignee: Jonathan Earl Brassow <jbrassow>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: mbroz, rkenna
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0959 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 19:46:50 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:    
Bug Blocks: 236626    

Description Jonathan Earl Brassow 2007-04-16 20:00:57 UTC
When checking the sync status of a region, there are times when we must not
block.  Like when we are attempting to map I/O for the first time or in a
context that must not block.

do_reads operates in a separate kernel thread and should be allowed to block. 
[Disallowing it to do so means cluster mirroring can never read-balance, among
other things.]

Comment 1 Rob Kenna 2007-04-16 21:00:20 UTC
pm-ack for 4.6

Comment 2 Rob Kenna 2007-04-16 21:08:41 UTC
pm-ack for 5.1 (reset flag to ? waiting for 3 acks.)


Comment 3 Jonathan Earl Brassow 2007-05-08 18:30:29 UTC
assigned -> post

Comment 4 RHEL Program Management 2007-05-08 18:41:52 UTC
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla 
status POST.

Comment 5 Don Zickus 2007-06-16 00:33:36 UTC
in 2.6.18-27.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 8 errata-xmlrpc 2007-11-07 19:46:50 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 the 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/RHBA-2007-0959.html