Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261673AbVEUGT1 (ORCPT ); Sat, 21 May 2005 02:19:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261674AbVEUGT1 (ORCPT ); Sat, 21 May 2005 02:19:27 -0400 Received: from rev.193.226.233.9.euroweb.hu ([193.226.233.9]:32779 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S261680AbVEUGTJ (ORCPT ); Sat, 21 May 2005 02:19:09 -0400 To: hbryan@us.ibm.com CC: jamie@shareable.org, akpm@osdl.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org In-reply-to: (message from Bryan Henderson on Fri, 20 May 2005 17:41:21 -0700) Subject: Re: [PATCH] FUSE: don't allow restarting of system calls References: Message-Id: From: Miklos Szeredi Date: Sat, 21 May 2005 08:18:31 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1252 Lines: 27 > >Having a program be stuck in read/write ignoring signals, so that > >Control-C, Control-Z and kill don't work on it, while it's waiting for > >some network operation, is a horrible thing. > > I've made it a personal crusade to eliminate D state. In addition to all > the damage done by computer resources being locked up, something about my > computer ignoring me rankles me on a personal level. Very true. FUSE currently handles it by allowing SIGKILL, but no other signals. Interrupting file operations would be very nice, but unfortunately apps just don't handle it very well (even in case SuS actually allows EINTR). > I believe this proposal is about making open() hang, which I think is even > more painful than having read/write hang. open() is often designed to > block much more casually. Then why the hack do people write programs that get some alarm signal 100 times a second _while_ doing the open. If they do that then trying to make it interruptible is sort of useless. 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/