Message ID | 20200618144355.17324-14-axboe@kernel.dk (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=SYs/=77=kvack.org=owner-linux-mm@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 181A8913 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:38 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D84FF20888 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="CmsR4pnk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D84FF20888 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 95F2C8D0025; Thu, 18 Jun 2020 10:44:19 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 90FE28D0018; Thu, 18 Jun 2020 10:44:19 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7AEC78D0025; Thu, 18 Jun 2020 10:44:19 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0176.hostedemail.com [216.40.44.176]) by kanga.kvack.org (Postfix) with ESMTP id 5DB438D0018 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 10:44:19 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2229714961D for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:19 +0000 (UTC) X-FDA: 76942603038.15.thing31_221076326e11 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin15.hostedemail.com (Postfix) with ESMTP id DEBD71814B0C1 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:18 +0000 (UTC) X-Spam-Summary: 2,0,0,a15a4744718f31cb,d41d8cd98f00b204,axboe@kernel.dk,,RULES_HIT:41:355:379:541:800:960:988:989:1260:1311:1314:1345:1359:1431:1515:1534:1539:1567:1711:1714:1730:1747:1777:1792:2194:2199:2393:2559:2562:3138:3139:3140:3141:3142:3876:3877:4321:5007:6114:6261:6642:6653:10004:11026:11473:11658:11914:12438:12517:12519:12555:12895:13069:13311:13357:13894:14181:14384:14394:14721:21080:21444:21451:21627:21990:30054,0,RBL:209.85.215.195:@kernel.dk:.lbl8.mailshell.net-62.2.0.100 66.100.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: thing31_221076326e11 X-Filterd-Recvd-Size: 3688 Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by imf17.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:18 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id d4so3006169pgk.4 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 07:44:18 -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:reply-to :mime-version:content-transfer-encoding; bh=agiR+Byeck2s775I8LSKf8tm0BQVQsWoO+u3QsmIwcE=; b=CmsR4pnk1FMjkbrTWikiw1ru36jrxC1tfShgKpQNL5fwTTR48LJzuB0WFeslN0A8R7 yVhdczhT7rCHZGNSPImdCvg2GFHYjPZq3Lo8LN55YdVfIqbcMnyIHIfCWRTp7nIlWoCP 8mIA0QOEOodS5hrggItuRz50XlDx1FRg2U51ti0K2K6RLhv04afTVM85LjEQHy1K3put aih63C1nllRb0Y93OtUHEJJE5MygBtOKi6TQwE2EGgx2382rGAnQZJ70Af+bxcWW78if p90wfGKQkPEoYPs0wXfDt35iVSEZ+5uCYlZohmz4//abZsAjr1a8x2PskDZN8j4J5CQD CYxQ== 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:reply-to:mime-version:content-transfer-encoding; bh=agiR+Byeck2s775I8LSKf8tm0BQVQsWoO+u3QsmIwcE=; b=kZZ23R+Jx2UJ1Z0fXCamZai/7fQ3OoxENRtJ9rAc5LJM0j+KTu88QMQNOJRcFoNB73 4ZFqd53M3+EZhg2rJTXH36hu9M1agnye7vnhNAYat/Sy1fiGLgiN2dBSW++3Jn6tiap3 v6q6r9QUamcWDGQviS0Yo+4FhbGaxCEP5wtSs5vsr5rQ3xY7f+nTAozwGyeSttfH1EpY ud21wwOTcPPv6rxwhPQW53t+ZHZVqLK0gAGoJhzGAAIh8liTxN4hYyXXFUVgQTyXKQIN zlQkvNuMtEXyKQnx14NvDobxlXY1boMKLGTQ3EFoDlPJzkiymU8lEaBEQxbON7OWfX2D PLVg== X-Gm-Message-State: AOAM532YYRSAPrNtNUxRvUNsS/3hI8ePB8BtoJb6qPgoANFOe7WXVMZz f9rTwe8QgTzMbuMsT9Ebt5/RUk7+9WQ5Iw== X-Google-Smtp-Source: ABdhPJyNr3+kHnVN8fM6oIP5PSOO4gsldaD6y/PdYSuuK7cpSwrVAwO5ubxT1Qc0fzuBScSDRUwL4w== X-Received: by 2002:a65:6558:: with SMTP id a24mr1850398pgw.110.1592491457531; Thu, 18 Jun 2020 07:44:17 -0700 (PDT) Received: from x1.localdomain ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id g9sm3127197pfm.151.2020.06.18.07.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:44:17 -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, akpm@linux-foundation.org, Jens Axboe <axboe@kernel.dk>, Theodore Ts'o <tytso@mit.edu> Subject: [PATCH 13/15] ext4: flag as supporting buffered async reads Date: Thu, 18 Jun 2020 08:43:53 -0600 Message-Id: <20200618144355.17324-14-axboe@kernel.dk> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200618144355.17324-1-axboe@kernel.dk> References: <20200618144355.17324-1-axboe@kernel.dk> Reply-To: "[PATCHSET v7 0/15]"@smtpin15.hostedemail.com, Add@smtpin15.hostedemail.com, support@smtpin15.hostedemail.com, for@smtpin15.hostedemail.com, async@smtpin15.hostedemail.com, buffered@smtpin15.hostedemail.com, reads@smtpin15.hostedemail.com MIME-Version: 1.0 X-Rspamd-Queue-Id: DEBD71814B0C1 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/15] block: provide plug based way of signaling forced no-wait semantics
|
expand
|
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 2a01e31a032c..1e827410e9e1 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -839,7 +839,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); }
ext4 uses generic_file_read_iter(), which already supports this. Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jens Axboe <axboe@kernel.dk> --- fs/ext4/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)