Message ID | 20200618144355.17324-12-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 EDD1C159A for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:31 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BA66C20888 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:31 +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="HvZc/ixP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA66C20888 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 567ED8D0023; Thu, 18 Jun 2020 10:44:16 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 4F09B8D0018; Thu, 18 Jun 2020 10:44:16 -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 3B8738D0023; Thu, 18 Jun 2020 10:44:16 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0177.hostedemail.com [216.40.44.177]) by kanga.kvack.org (Postfix) with ESMTP id 1A03B8D0018 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 10:44:16 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id D22888248047 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:15 +0000 (UTC) X-FDA: 76942602870.02.cat76_04037e826e11 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id 92BEE149603 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:15 +0000 (UTC) X-Spam-Summary: 10,1,0,0c3d61f682791087,d41d8cd98f00b204,axboe@kernel.dk,,RULES_HIT:41:355:379:541:800:960:973: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:6119:6261:6642:6653:10004:11026:11473:11658:11914:12043:12438:12517:12519:12555:12895:13069:13311:13357:13523:13524:13894:14181:14384:14394:14721:21080:21444:21451:21627:21990:30054:30064,0,RBL:209.85.215.196:@kernel.dk:.lbl8.mailshell.net-66.100.201.201 62.2.0.100,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:24,LUA_SUMMARY:none X-HE-Tag: cat76_04037e826e11 X-Filterd-Recvd-Size: 3723 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by imf43.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Thu, 18 Jun 2020 14:44:14 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id l63so2983314pge.12 for <linux-mm@kvack.org>; Thu, 18 Jun 2020 07:44:14 -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=KEZHLow75x1WGZauUbfw6ciLmnTzXmpQXtEtlinmygw=; b=HvZc/ixPovm/kRhvl4SJUiwM/PVM+gQUGpw4gn7GL1Ek48GAAcFBxFJBO4YBWLb0Y9 Oiqk0i8f6vQ1Em168554rqM+AcEyk7rObxLac2g8tH1Pd6I83C8/2mPcrM6EC5HB+yuI ZQq+xXWBQ17rDR3i6if4Yr3L8h/fWDRW9Sjj870yRZqr2dNo7/szXK+hje9neRqzDGj1 k+P4aQd8v6FJFSOymCFraV22X6dCtjZ03CNMccoXsgYKxxTrdgIEeGkBWmuwX9eMXQVf 6oKU1HJcojpsQ/gOVihItBajLbiifqA4r48bx/wgZ3Vs2f3Le4J1aEEGs7KW+RdevsH2 /nIA== 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=KEZHLow75x1WGZauUbfw6ciLmnTzXmpQXtEtlinmygw=; b=iQaoyqejFCJspjHhAM1oPumRKI+AnhheBjtFVVz+3bhpGlXjXJhj+ZVCkQ9cx953Zv z95ZzwvDLyg0nGVac/6CmTfq6qiJz/NB6RmpfMeh4DlonrfVwR0C+DhF+lng49ZI5ivi tokfm3BBLlb/tFzjuJ0WOi6riAzJKeyoeNH4naExOQhKRh8BbLqx5s7o9apLzF9Fq5cs W51w0kNvqNpNIhwSVycnh8oSngW4Dp5cQXmj2fms+PSf3XE9GMwChWQTbaHvdmwDd27Z GsEvPkV+lM6sdo8yX/NxNQMBhgj2LQKl8gScD/j+riqmK1Gibor8Mz6ezNsr4c6HUMpa 1R1w== X-Gm-Message-State: AOAM531UCamcwN1O2ELt0kTPddwM0gDCI2ZghwHjijHx8kA5CTKqBz/F a2VGdogw4oLF+Yw1F2+dZ0TFPPPuukN95A== X-Google-Smtp-Source: ABdhPJybJIEFYk2ErRp3fvA+q2tyQLM9BD6LGpYjoii03ztTUTqqX4O2JwO+0Ij8wpxOd+bSneCDiQ== X-Received: by 2002:a63:205b:: with SMTP id r27mr3555018pgm.326.1592491454092; Thu, 18 Jun 2020 07:44:14 -0700 (PDT) Received: from x1.localdomain ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id g9sm3127197pfm.151.2020.06.18.07.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:44:13 -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>, "Darrick J . Wong" <darrick.wong@oracle.com> Subject: [PATCH 11/15] xfs: flag files as supporting buffered async reads Date: Thu, 18 Jun 2020 08:43:51 -0600 Message-Id: <20200618144355.17324-12-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]"@smtpin02.hostedemail.com, Add@smtpin02.hostedemail.com, support@smtpin02.hostedemail.com, for@smtpin02.hostedemail.com, async@smtpin02.hostedemail.com, buffered@smtpin02.hostedemail.com, reads@smtpin02.hostedemail.com MIME-Version: 1.0 X-Rspamd-Queue-Id: 92BEE149603 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/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 00db81eac80d..fdbff4860d61 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -1080,7 +1080,7 @@ xfs_file_open( return -EFBIG; if (XFS_FORCED_SHUTDOWN(XFS_M(inode->i_sb))) return -EIO; - file->f_mode |= FMODE_NOWAIT; + file->f_mode |= FMODE_NOWAIT | FMODE_BUF_RASYNC; return 0; }