xfs
[Top] [All Lists]

[Bug 233] New: Close system call hangs on creating large files on XFS pa

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 233] New: Close system call hangs on creating large files on XFS partition
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 19 Mar 2003 05:17:11 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=233

           Summary: Close system call hangs on creating large files on XFS
                    partition
           Product: Linux XFS
           Version: 1.2.x
          Platform: IA32
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: High
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: armin.schoisswohl@xxxxxxxxxx
                CC: armin.schoisswohl@xxxxxxxxxx


If this is a userspace bug, what version of the package are you using:
attr-2.1.1-1
acl-2.1.1-1
dmapi-2.0.5-1
xfsprogs-2.3.5-1
kernel-source-2.4.18-18SGI_XFS_1.2.0

What kernel are you using: 
2.4.18-18SGI_XFS_1.2.0custom (=2.4.18-18SGI_XFS_1.2.0 + NTFS ro module support) 

Where did the XFS code come from?  (CVS, Linus, your distribution, etc):
kernel-2.4.18-18SGI_XFS_1.2.0.src.rpm from SGI website
ftp://oss.sgi.com/projects/xfs/download/latest/kernel_rpms/2.4.18-18-RH/SRPMS/kernel-2.4.18-18SGI_XFS_1.2.0.src.rpm

Description of Problem:
When creating large files (approx. > 700MB) on a XFS partition the creating
process hangs in the close system call.

How Reproducible:
Completely

Steps to Reproduce:
1. dd if=/dev/zero of=/some/file/on/a/XFS/partition bs=512 count=1400000

Actual Results:
When the file is created completely (full size 716800000 bytes), dd hangs for
about 10 minutes and more (maximum was 220 min) using the whole CPU power in
kernel mode.

Expected Results:
No hang.

Additional Information:
I dumped the registers during the hang and found out that the kernel spends most
of the time in the function invalidate_inode_pages (mm/filemap.c), mostly at 1aa
and 315; also 175,177,1b4,17c,1ae, and 175 were found sometimes.

I will attach a disassambly of invalidate_inode_pages as well as the source and
the output of SysRq.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 233] New: Close system call hangs on creating large files on XFS partition, bugzilla-daemon <=