Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757931AbYJ3Rnu (ORCPT ); Thu, 30 Oct 2008 13:43:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756947AbYJ3RnO (ORCPT ); Thu, 30 Oct 2008 13:43:14 -0400 Received: from fxip-0047f.externet.hu ([88.209.222.127]:34110 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754715AbYJ3RnN (ORCPT ); Thu, 30 Oct 2008 13:43:13 -0400 To: stern@rowland.harvard.edu CC: miklos@szeredi.hu, rjw@sisk.pl, linux-kernel@vger.kernel.org, ncunningham@crca.org.au, linux-pm@lists.linux-foundation.org In-reply-to: (message from Alan Stern on Thu, 30 Oct 2008 13:07:27 -0400 (EDT)) Subject: Re: [linux-pm] Freezer: Don't count threads waiting for frozen filesystems. References: Message-Id: From: Miklos Szeredi Date: Thu, 30 Oct 2008 18:43:01 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 26 On Thu, 30 Oct 2008, Alan Stern wrote: > Okay. Don't forget things like ioctl for sockets -- they often involve > doing I/O directly to the network interface device. Yeah, ioctls should probably just always be protected (at least initially), regardless of what type of file they are done on. > What happens to a task accessing a non-regular file on a fuse > filesystem? :-) The same as on any other filesystem, i.e. the fs is only involved as far as calling init_special_inode(), the rest is taken care of by the VFS. Tejun Heo recently posted patches to fuse which enable emulating a char device from userspace. That is another matter, obviously we'd want to keep the "allow suspend during I/O" property of fuse in that case, even though there's a char device involved (but no hardware, at least not on that level). 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/