Re: [ceph-devel] Caps disagreement

2010-01-25 Thread Sage Weil
Okay, I pushed a patch that reworks this. If the op is interrupted, we flag the request struct but leave it registered, so we can still process the reply. That processing does the caps updates, but skips the dcache changes, since we won't hold i_mutex anymore. It also clears the directory's

Re: [ceph-devel] Caps disagreement

2010-01-22 Thread Yehuda Sadeh Weinraub
On Fri, Jan 22, 2010 at 3:07 PM, Sage Weil wrote: > > Are there other places that should be handling ERESTARTSYS? Anywhere we have interruptible wait are the obvious places. There are a few places of those. I guess that we may get that when calling other kernel internal functions. I guess there a

Re: [ceph-devel] Caps disagreement

2010-01-22 Thread Sage Weil
On Fri, 22 Jan 2010, Yehuda Sadeh Weinraub wrote: > There is a problem that I was able to reproduce quite frequently, when > trying to untar the latest linux kernel source tree, running 'make > oldconfig' and then 'make -j2': > The make operation does not get through much progress and just hangs >

[ceph-devel] Caps disagreement

2010-01-22 Thread Yehuda Sadeh Weinraub
There is a problem that I was able to reproduce quite frequently, when trying to untar the latest linux kernel source tree, running 'make oldconfig' and then 'make -j2': The make operation does not get through much progress and just hangs there after the first few steps. The problem is timing sensi