Re: [PATCH] btrfs: don't return EINTR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 17, 2012 at 11:24:01AM -0400, Chris Mason wrote:
> On Tue, Apr 17, 2012 at 04:15:32PM +0200, Arne Jansen wrote:
> > On 14.04.2012 14:56, Arne Jansen wrote:
> > > It is basically a good thing if we are interruptible when waiting for
> > > free space, but the generality in which it is implemented currently
> > > leads to system calls being interruptible that are not documented this
> > > way. For example git can't handle interrupted unlink(), leading to
> > > corrupt repos under space pressure.
> > 
> > Is this patch a candidate for the next rc?
> 
> The EINTR came from Josef.  We do want to be able to break out of long
> flushes, but I want to check with him to see if there was a specific bug
> this was solving?

Sorry I was -ENOINTERNET, no the only thing I was fixing was being able to break
out of long flushes.  Maybe instead of using the big hammer here we just make
unlink ignore EINTR and try again, or maybe pass down a flag saying I can't be
interrupted?  Thanks,

Josef 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux