From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965134AbeCHJEt (ORCPT ); Thu, 8 Mar 2018 04:04:49 -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 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 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,