Message ID | 20200618144355.17324-12-axboe@kernel.dk (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=/VPQ=77=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 9DB81159A for <patchwork-linux-fsdevel@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8362F208D5 for <patchwork-linux-fsdevel@patchwork.kernel.org>; Thu, 18 Jun 2020 14:44:38 +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" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730978AbgFROog (ORCPT <rfc822;patchwork-linux-fsdevel@patchwork.kernel.org>); Thu, 18 Jun 2020 10:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730977AbgFROoP (ORCPT <rfc822;linux-fsdevel@vger.kernel.org>); Thu, 18 Jun 2020 10:44:15 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 893DEC061794 for <linux-fsdevel@vger.kernel.org>; Thu, 18 Jun 2020 07:44:14 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id e18so3002614pgn.7 for <linux-fsdevel@vger.kernel.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=VWT/S7BTn9KSHk56HzbAu9JmQvlAUY1YQKfH2BcddmtdMsB6iw5faxLj8b9MEQyA71 UfAwkJXttQoKRHX9gU4Hbk1W/NNS6ZMBEj2Q8+7iEhbxA6NK0xrFBvB9NCc/an6zAKMG m+ox9vO2tUqWNWIT7gXZtYsaF4iRbLlYw8el1ZjXtVdxxcM7xWGhr7s2n1tzSkuK3YkB 2ZL+EHsqyG/8tMuV4U4I6qVbo/qYjRM8Esd/X3SA3yxLz5RpDrkp/+zR5C4rJt8jcyZN CDcNivs/yzVh17Lc/LLiOKgN8b1hf3uDGytjmdaWAzvKXMvHD/c93oYnUSAoBJQj0pJh ARsA== X-Gm-Message-State: AOAM533o+noAfYItvU4J19N+LNqOBrul1J3zgsAJpqB+MCjbM7QqgzID tkRQazLRasO+b8MTXU9ya0e8/g== 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]"@vger.kernel.org, Add@vger.kernel.org, support@vger.kernel.org, for@vger.kernel.org, async@vger.kernel.org, buffered@vger.kernel.org, reads@vger.kernel.org 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 |
[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; }