From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 2/2] fs: Make write(2) interruptible by a signal Date: Tue, 22 Nov 2011 14:28:05 -0800 Message-ID: <20111122142805.4e59faae.akpm@linux-foundation.org> References: <1321441935-6802-1-git-send-email-jack@suse.cz> <1321441935-6802-3-git-send-email-jack@suse.cz> <20111116114421.GA9098@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jan Kara , Christoph Hellwig , Al Viro , "linux-fsdevel@vger.kernel.org" To: Wu Fengguang Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50839 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757874Ab1KVW2G (ORCPT ); Tue, 22 Nov 2011 17:28:06 -0500 In-Reply-To: <20111116114421.GA9098@localhost> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 16 Nov 2011 19:44:21 +0800 Wu Fengguang wrote: > Due to the (very low) possibility of data loss by partial writes, IMHO > it would safer to test this patch in linux-next until next merge window, Any such bugs will not be discovered in linux-next testing. The only way to find these things in a reasonable period of time is to go in and find them. For example, intensive fsx-linux testing with concurrent heavy memory pressure on various filesystems with various block sizes. And of course concurrent signalling. If you're talking about O_DIRECT then iirc I hacked support for that into fsx-linux. I think. Anyway, what _are_ the scenarios in which we think data can be lost?