<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
-- Warning - threadjack in progress. But I think it might be related. --<br>
<br>
Interesting. Could this be similar to the case that I'm seeing with "no
space left on device"? Here's my uneducated assumption:<br>
&nbsp;- at this point I believe some form of I/O error or interrupt causes
ocfs2 to error out<br>
&nbsp;- the "remount read only" effect silently kicks in (no log message
though)<br>
&nbsp;- now file operations return "no space left on device", but my device
is showing 2% use<br>
<br>
The reasons I imagine a correlation between these two are:<br>
Tao says:<br>
&gt; The ERESTARTSYS may happen when we get interrupted from
ocfs2_cluster_lock.<br>
&gt; I met with it when I rm -rf a very large dir and use "ctrl+c" to
stop it <br>
&gt; when I tested bug 1162.<br>
<br>
There are also a fair number of posts over in the kernel lists talking
about qlogic driver issues (qla2xxx) relating to PCI MSI's causing
hangs under moderate I/O load.<br>
eg: <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/268242">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/268242</a><br>
<br>
The rm -rf&nbsp; on a very large dir would do presumably do this. I also hit
this when I do a local rsync or untar of very large directory trees.<br>
EMC also recommends the qlogic HBA be set to Interrupt after every I/O
completion. Could this cause a race condition?<br>
All of these have interrupts in common. Think setting nointr as a mount
option would help here?<br>
<br>
Best,<br>
James<br>
<br>
Joel Becker wrote:
<blockquote cite="mid:20090901004623.GE19626@mail.oracle.com"
 type="cite">
  <pre wrap="">On Mon, Aug 31, 2009 at 12:39:02PM -0700, Joel Becker wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Mon, Aug 31, 2009 at 12:16:36PM -0700, Joel Becker wrote:
5441  open("t/t6015-rev-list-show-all-parents.sh", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0777) = ? ERESTARTSYS (To be restarted)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
        The workaround is to mount with the 'nointr' option.

Joel

  </pre>
</blockquote>
</body>
</html>