[Top] [All Lists]

[Bug 311] New: ioctl hang in 2.6.x kernels with quota support

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 311] New: ioctl hang in 2.6.x kernels with quota support
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 18 Feb 2004 23:21:08 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx

           Summary: ioctl hang in 2.6.x kernels with quota support
           Product: Linux XFS
           Version: Current
          Platform: IA32
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: steven.wilton@xxxxxxxxxxxxxx

I am having problems where a call to ioctl(x, XFS_IOC_FSBULKSTAT, y) hangs after
a random number of recursions when the system is under load.  The bug occurs
when using the "quot" command, while in the following segment of code:

        while ((sts = ioctl(fsfd, XFS_IOC_FSBULKSTAT, &bulkreq)) == 0) {
                printf("IOCTL %d finished\n",j);
                if (count == 0)
                for (i = 0; i < count; i++)

The quot command hangs in a D state, and the only way to kill the process is to
reboot the server.  After a reboot, running the quot command again will hang at
a different value of j.  If I do not reboot the server, and run another instance
of quot, it will hang at the same value of j. The comamnd I am running is "quot
-f <filesystem>".

I did notice on my most recent attempt that there was a pdflush kernel process
that had started up at about the same time that the quot command hung.

I am running the 2.6.3 kernel with the XFS kernel code that came with the
kernel, and this problem also occurred on the 2.6.2 kernel.  I am using the
quota tools v3.10.  I have reverted back to the 2.4.22 kernel with the xfs patch
applied, and this does not suffer from the same problem.

------- 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 311] New: ioctl hang in 2.6.x kernels with quota support, bugzilla-daemon <=