Message ID | 20200618144355.17324-11-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 84BC114E3 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 51B8320888 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:29 +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="ynTJluJ6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51B8320888 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 F2A348D0022; Thu, 18 Jun 2020 10:44:14 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id EE2D68D0018; Thu, 18 Jun 2020 10:44:14 -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 D07CA8D0022; Thu, 18 Jun 2020 10:44:14 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0227.hostedemail.com [216.40.44.227]) by kanga.kvack.org (Postfix) with ESMTP id AF8C18D0018 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 10:44:14 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 72B6F180AD807 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:14 +0000 (UTC) X-FDA: 76942602828.19.month93_0d1517b26e11 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id 2B6EE1AD1B0 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:14 +0000 (UTC) X-Spam-Summary: 2,0,0,31200f0bded0b032,d41d8cd98f00b204,axboe@kernel.dk,,RULES_HIT:41:355:379:541:800:960:988:989:1260:1311:1314:1345:1359:1431:1515:1534:1538:1567:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3876:3877:4321:5007:6114:6261:6642:6653:10004:11026:11473:11658:11914:12517:12519:12555:12895:12986:13069:13311:13357:13894:14181:14384:14394:14721:21080:21444:21627:30054,0,RBL:209.85.210.194:@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:22,LUA_SUMMARY:none X-HE-Tag: month93_0d1517b26e11 X-Filterd-Recvd-Size: 3590 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by imf01.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:13 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id 64so2869770pfv.11 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 07:44:13 -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=lmn4EHxlosWk2LKyZRbh3uHZDbpZvbZJJ5zRlTFAsKo=; b=ynTJluJ6Q99yEvMTa6y10W+u5+Z89pdb0A+GuJkEPIQuhyxpm60zb8aV1UgTzM49Cg 7mYXB2z8mtKRwGfC7oa8zmXN0NeqZcMk0nfEZAsWCQC7qS69O7EfAy7bvV4ntFSDUnKd s1HYlH3UUvMSO05JqooeCBbZY0ZRIjrWWqeXC7QjivnX5Jt0UXn8Nku5Kkav004uevwG 8PUXkLfmKjS6G8DCuicClsmZmNXcIm7PbrbS7/OqZObQQHmkmS+ttktTCCcqchSw4mb3 huoY15kQX2Ms3nHgl6XAnHvSp6STkjvZO6hPs2x+GSzE549wVTux9mlLhmmuwEge7kyC Whmg== 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=lmn4EHxlosWk2LKyZRbh3uHZDbpZvbZJJ5zRlTFAsKo=; b=LICf0uSViI7Dgz+dayVJB7rdzQY6wTvRFZqS5UPY+aUhLY+G3Y1XjaqHwp9/JrvieQ q08chl8YIk9X84A4ztY/6rAwmTDa0+z6Ex8GjZ348aj03J2dVMjCYD0FtCu0wXAE8xeA gnMc6p6sISzD/c1bbpUZCw9amoj02UR1UH2JeQ/RYzRnynHf4ivqb/tBn7ZiuWJBeZlV N5qsOSE2Q7B/AX0/8O8OzfOOvlogjPJjd6uhjslETdg8GecWbd4ZEOu4nhXekOz72+X8 2AOfs+LkQ1TmcszTCIZURqH+5moxfgIcLF7c+GnGNRlTXo4JZ019NvT+TdReTzXxoY6B xn6A== X-Gm-Message-State: AOAM530d0vAzSjeigk0EsyUnU+ueweHlrpgJhJVD1gistYjZCiAlw5P8 FhHSMV46+NN+c3LCDBWEe7KUDQ== X-Google-Smtp-Source: ABdhPJzBNjEb2EomZLOu+f8/v3tw76mKzCcpM8kJeYEd8Lb2xxqO66ZxbvFvynHQ19qXPAAGDtGMUA== X-Received: by 2002:a63:1e60:: with SMTP id p32mr3518283pgm.172.1592491452832; Thu, 18 Jun 2020 07:44:12 -0700 (PDT) Received: from x1.localdomain ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id g9sm3127197pfm.151.2020.06.18.07.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:44:12 -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> Subject: [PATCH 10/15] block: flag block devices as supporting IOCB_WAITQ Date: Thu, 18 Jun 2020 08:43:50 -0600 Message-Id: <20200618144355.17324-11-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]"@smtpin19.hostedemail.com, Add@smtpin19.hostedemail.com, support@smtpin19.hostedemail.com, for@smtpin19.hostedemail.com, async@smtpin19.hostedemail.com, buffered@smtpin19.hostedemail.com, reads@smtpin19.hostedemail.com MIME-Version: 1.0 X-Rspamd-Queue-Id: 2B6EE1AD1B0 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 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/block_dev.c b/fs/block_dev.c index 47860e589388..54720c90dad0 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1850,7 +1850,7 @@ static int blkdev_open(struct inode * inode, struct file * filp) */ filp->f_flags |= O_LARGEFILE; - filp->f_mode |= FMODE_NOWAIT; + filp->f_mode |= FMODE_NOWAIT | FMODE_BUF_RASYNC; if (filp->f_flags & O_NDELAY) filp->f_mode |= FMODE_NDELAY;
Signed-off-by: Jens Axboe <axboe@kernel.dk> --- fs/block_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)