From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Stornelli Subject: Re: [PATCH 1/2 v2] fs: Return EAGAIN when O_NONBLOCK write should block on frozen fs Date: Sat, 10 Nov 2012 10:23:12 +0100 Message-ID: <509E1D00.50107@gmail.com> References: <1352378498-30625-1-git-send-email-jack@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Al Viro , linux-fsdevel@vger.kernel.org, dchinner@redhat.com To: Jan Kara Return-path: Received: from mail-ea0-f174.google.com ([209.85.215.174]:51878 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750699Ab2KJJ3t (ORCPT ); Sat, 10 Nov 2012 04:29:49 -0500 Received: by mail-ea0-f174.google.com with SMTP id c13so1757698eaa.19 for ; Sat, 10 Nov 2012 01:29:48 -0800 (PST) In-Reply-To: <1352378498-30625-1-git-send-email-jack@suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Il 08/11/2012 13:41, Jan Kara ha scritto: > When user asks for O_NONBLOCK behavior for a file descriptor, return > EAGAIN instead of blocking on a frozen filesystem. > > Signed-off-by: Jan Kara > --- It seems good. Since we have changed a bit the behavior, what do you think to replace the uninterruptible sleeping with killable sleeping in this context? Marco