Bug 169597

Summary: I/O but deadlock with multiple snapshot
Product: [Fedora] Fedora Reporter: Rocky Lee <rocky366>
Component: lvm2Assignee: Alasdair Kergon <agk>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-03 15:28:42 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:

Description Rocky Lee 2005-09-30 02:13:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; KKman3.0)

Description of problem:
I/O but deadlock with multiple snapshot,

if there's more then 3 snapshot devices on one source volume.
then trying to put hundreds files to the source volume and sync.
the sync process will go to deep-sleep and can't wake up anymore.
daemon pdflush also goes to sleep..


Version-Release number of selected component (if applicable):
FC3 kernel and LVM2,  also test with 2.6.13 kernel has the same result

How reproducible:
Always

Steps to Reproduce:
1.create a source volume lv1.
2.create 3 snapshot volumes s1, s2, s3 with source lv1
3.copy all /usr/local files to the lv1
4.sync

or execute the following script

for i in 1 2 3 4 5 6; do
lvcreate -s -L 128 -n s${I} /dev/VG01/lv1
cp -af /etc /mnt/lv1
sync
sleep 5
done
  

Actual Results:  copy files to the source volume, then I/O process sleep...
can't sync files anymore... 

Expected Results:  success sync.

Additional info:

Comment 1 Rocky Lee 2005-09-30 02:21:27 UTC
*** Bug 169598 has been marked as a duplicate of this bug. ***

Comment 2 Alasdair Kergon 2005-10-03 15:28:42 UTC

*** This bug has been marked as a duplicate of 132057 ***