http://oss.sgi.com/bugzilla/show_bug.cgi?id=311
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:
j=0;
while ((sts = ioctl(fsfd, XFS_IOC_FSBULKSTAT, &bulkreq)) == 0) {
j++;
printf("IOCTL %d finished\n",j);
if (count == 0)
break;
for (i = 0; i < count; i++)
acctXFS(&buf[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.
|