Message ID | 20200523015049.14808-7-axboe@kernel.dk (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=e2Yt=7F=vger.kernel.org=linux-fsdevel-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74688913 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Sat, 23 May 2020 01:51:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5C2302072C for <patchwork-linux-fsdevel@patchwork.kernel.org>; Sat, 23 May 2020 01:51:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="viOUEJ1f" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387633AbgEWBvn (ORCPT <rfc822;patchwork-linux-fsdevel@patchwork.kernel.org>); Fri, 22 May 2020 21:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387555AbgEWBvF (ORCPT <rfc822;linux-fsdevel@vger.kernel.org>); Fri, 22 May 2020 21:51:05 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96E2FC08C5C3 for <linux-fsdevel@vger.kernel.org>; Fri, 22 May 2020 18:51:05 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id q8so6009451pfu.5 for <linux-fsdevel@vger.kernel.org>; Fri, 22 May 2020 18:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7SUIxRwptQ6YWj2W/l7Dp7FzKmS+sjQ+qLVh2r/v7CQ=; b=viOUEJ1fR6EBYLV+aGk4n4pPCzVmSS3wNBos+myVsG9d41L0VNwWkGpSJmOhx3K9++ f9KJqmYPc52aQNDh7YBCfGeiMDtYKLgYg3KJ8Tinr03i/xE1uwVTqvhDcqDMbeFtl0ry /Fbrftn8RXZ8jfaKQjlRMnDxcx7ZUeBqLwxIInOHFnGah2gnFiWL+aSKx/Vus5jvhAvb OUE0VGbgSSqfdsPWnexlxMY+WF6b/eVXTi5o6mZVwVvwHDPL5zY9JJY/lOfTSooU5zq/ 3vaOAuGthCRFAY6UAqlOO3/p3MtxKBubwxgq6lOmlbcoZuFWfQBxZer5UAP630v53ff+ KF4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7SUIxRwptQ6YWj2W/l7Dp7FzKmS+sjQ+qLVh2r/v7CQ=; b=PGVReAu81ZfHWJZeML+HgW/K1Vp+rjGBbw4tui4iURvFX8pJ6z1yNv+63NTQjvXOBV Lvi2ktSJlZBs3vK+gfikh+RKhvt5MbkLr4HWDHbwf3TbG5dVL/7HadSY7O6053oosDqz pMzGZgAMNEjxshlN1MCyaADIKKNmSzYLNUtvqYR7uF2qG8jClYz01OcrujwKTfVRd/bw s9czw12U2xMUJ88ZkpB3ViT70lXqGC/HkOA+GRXuoco+SuBhioB5ak71UNqx5aQ7Bxyu nSsudYLlq2fIyEvFPV1efYa81Z1QqoQQ4BJwPYCEa6MJeSjX3m2baix8tEwRM63S1e// o1eA== X-Gm-Message-State: AOAM531ZwsTD8Cjvpg1onsqN1dZYa6kV1VCvWrRYtGWwQb1IKw6+OjUh UzBOenK6jXFJsQFrBslhiIWDHA== X-Google-Smtp-Source: ABdhPJxMDUN9GWGHzw/t3Lk7jZslvDAozX8xG9m2W1wpHYgfAm8cjUlGT/CMaOFe5dKd6Q6mLPzZ2A== X-Received: by 2002:a65:6094:: with SMTP id t20mr16806792pgu.220.1590198665111; Fri, 22 May 2020 18:51:05 -0700 (PDT) Received: from x1.lan ([2605:e000:100e:8c61:e0db:da55:b0a4:601]) by smtp.gmail.com with ESMTPSA id a71sm8255477pje.0.2020.05.22.18.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 18:51:04 -0700 (PDT) From: Jens Axboe <axboe@kernel.dk> To: io-uring@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jens Axboe <axboe@kernel.dk> Subject: [PATCH 06/11] ext4: flag as supporting buffered async reads Date: Fri, 22 May 2020 19:50:44 -0600 Message-Id: <20200523015049.14808-7-axboe@kernel.dk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200523015049.14808-1-axboe@kernel.dk> References: <20200523015049.14808-1-axboe@kernel.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fsdevel.vger.kernel.org> X-Mailing-List: linux-fsdevel@vger.kernel.org |
Series |
Add support for async buffered reads
|
expand
|
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 0d624250a62b..9f7d9bf427b4 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -826,7 +826,7 @@ static int ext4_file_open(struct inode * inode, struct file * filp) return ret; } - filp->f_mode |= FMODE_NOWAIT; + filp->f_mode |= FMODE_NOWAIT | FMODE_BUF_RASYNC; return dquot_file_open(inode, filp); }
Signed-off-by: Jens Axboe <axboe@kernel.dk> --- fs/ext4/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)