Received: by 10.223.185.116 with SMTP id b49csp6073858wrg; Thu, 8 Mar 2018 01:06:45 -0800 (PST) X-Google-Smtp-Source: AG47ELucMsTxvA5CVhJaQZkK3qLZ7BlsZqF4JsZcf10qVZHu7xt36+7GkseOgt4fgumoDsrnfktq X-Received: by 10.98.93.87 with SMTP id r84mr25739739pfb.131.1520500005675; Thu, 08 Mar 2018 01:06:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520500005; cv=none; d=google.com; s=arc-20160816; b=QkzmQJQChVdEfTPgc/cCvbIatHsOVXnfC/pHfYiGcWslzdW9VepcwfhS/Vj2u/UfEy 1Hz/iTtt9lF394zohLTbetycLM4sRP6UyY3iyqlywzmTp3/7JID4KujuWEYEj19yEA5U KjdDiyC5V7PSHaTjCCYDLnfCeO3tUUfBZXgi5HgzMZkcRIkigWDRx6vCDILvpGmNeeEG DXoOlVRheThhhl7wD4dqTD4VlE4Cn1YE6p3Xik8VwG6B1chV+gs8w0EAxlz7xgUkWmsc YIoaSBrML/PZrqkS5MbTOm3y8VxzuCOECd9b+kcXRY9Lf0GveVALdCvSBqnxajYEUrrh KgtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=ZuF43eC7HYKFGtOTo7p06nDpgohO0P1HcQlyePuc37A=; b=Wqt/YqhqXK8vuoAvULDwgTkrpUQzzXC2DGc9x7sosttDkiEonRNS7dJ6LNAgBJyhML VoZuFsd0GN59r79KWQVns7g9iTKWPkazTomJb/dFDqw+2in1p+Qv8M1heXbEazGsDRI/ xZBR+ASQ4R8+EEroAK71+p1Pl3a6OEj9wvJgYPm48y6NGXBmpop6Q+bIgjrzqR73/n9A L/85oFMAwzJCNw+0+XXjJ6wF3+WF82cRA0ZSUzJhC6xrC4qIiZQEUU8DUHr415JshKMv dnOYhxMjEAwwvyDeDAF31IY4BtxLgp52tDJPbh/zHZ8rjcbuMrYN9LrI9afrKxejwUgJ cbFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si3576430pgr.484.2018.03.08.01.06.31; Thu, 08 Mar 2018 01:06:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965128AbeCHJEs (ORCPT + 99 others); Thu, 8 Mar 2018 04:04:48 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:57737 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755425AbeCHJEl (ORCPT ); Thu, 8 Mar 2018 04:04:41 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 5D4EBD819AA7; Thu, 8 Mar 2018 17:04:28 +0800 (CST) Received: from [127.0.0.1] (10.134.22.195) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.361.1; Thu, 8 Mar 2018 17:04:27 +0800 Subject: Re: [PATCH v2] f2fs: add nowait aio support To: Hyunchul Lee , Jaegeuk Kim CC: , , , Christoph Hellwig , Goldwyn Rodrigues , Hyunchul Lee References: <1520493679-17778-1-git-send-email-hyc.lee@gmail.com> From: Chao Yu Message-ID: <9dce3494-50c1-4cf8-52b9-f8e8ead2f82b@huawei.com> Date: Thu, 8 Mar 2018 17:04:35 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1520493679-17778-1-git-send-email-hyc.lee@gmail.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/3/8 15:21, Hyunchul Lee wrote: > From: Hyunchul Lee > > This patch adds nowait aio support[1]. > > Return EAGAIN if any of the following checks fail for direct I/O: > - i_rwsem is not lockable > - Blocks are not allocated at the write location > > And xfstests generic/471 is passed. > > [1]: 6be96d "Introduce RWF_NOWAIT and FMODE_AIO_NOWAIT" > > Signed-off-by: Hyunchul Lee Reviewed-by: Chao Yu Thanks,