Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756967AbYBDTDZ (ORCPT ); Mon, 4 Feb 2008 14:03:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755232AbYBDTDO (ORCPT ); Mon, 4 Feb 2008 14:03:14 -0500 Received: from fxip-0047f.externet.hu ([88.209.222.127]:45771 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755197AbYBDTDN (ORCPT ); Mon, 4 Feb 2008 14:03:13 -0500 To: staubach@redhat.com CC: miklos@szeredi.hu, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, akpm@linux-foundation.org, trond.myklebust@fys.uio.no, linux-fsdevel@vger.kernel.org In-reply-to: <47A75CCF.4090904@redhat.com> (message from Peter Staubach on Mon, 04 Feb 2008 13:43:27 -0500) Subject: Re: [PATCH 2/3] enhanced syscall ESTALE error handling (v2) References: <4790C768.4080207@redhat.com> <47A387D4.70605@redhat.com> <47A39471.4010105@redhat.com> <47A39D8F.9010003@redhat.com> <47A73558.2080700@redhat.com> <47A75CCF.4090904@redhat.com> Message-Id: From: Miklos Szeredi Date: Mon, 04 Feb 2008 20:02:40 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1888 Lines: 49 > > I don't know what NFS does, but returning EINTR without actually > > canceling an operation in the server is generally not a good idea. > > > > > > This is what NFS has been doing, for several decades, and no one > has complained yet. Is it really? Man nfs says something quite different (emphasis mine): intr If an NFS file operation has a *major timeout* and it is hard mounted, then allow signals to interupt the file operation and cause it to return EINTR to the calling program. The *default* is to *not* allow file operations to be *interrupted*. > >> Have you noticed another one? I would be happy to chat with the > >> developers for that file system to see if this support would > >> negatively impact them. > >> > > > > Oh, I have no idea. And I wouldn't want to do a full audit of all the > > filesystems to find out. But if you do, please go ahead. > > > > > > Well, you brought it up. I thought that perhaps you had something > other than FUD. It's not FUD, it's being careful not to break an implementation when changing an API in a backward incompatbile way. > Please describe this real and existing fuse installation so that I can > better understand the situation and the real requirements here. I have already done so: "Also up till now, returning ESTALE in a fuse filesystem was a perfectly valid thing to do. This patch changes the behavior of that rather drastically. There might be installed systems that rely on current behavior, and we want to avoid breaking those on a kernel upgrade." Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/