Message ID | 20241108174505.1214230-14-axboe@kernel.dk (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 021D6D64072 for <linux-mm@archiver.kernel.org>; Fri, 8 Nov 2024 17:45:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 82A526B00ED; Fri, 8 Nov 2024 12:45:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 765956B00EE; Fri, 8 Nov 2024 12:45:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 603DE6B00EF; Fri, 8 Nov 2024 12:45:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 3B6096B00ED for <linux-mm@kvack.org>; Fri, 8 Nov 2024 12:45:35 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 6FF3EC0F20 for <linux-mm@kvack.org>; Fri, 8 Nov 2024 17:45:34 +0000 (UTC) X-FDA: 82763653812.10.31BA1E8 Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by imf04.hostedemail.com (Postfix) with ESMTP id 9A5364001D for <linux-mm@kvack.org>; Fri, 8 Nov 2024 17:44:45 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=mBDJFrny; dmarc=none; spf=pass (imf04.hostedemail.com: domain of axboe@kernel.dk designates 209.85.167.175 as permitted sender) smtp.mailfrom=axboe@kernel.dk ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731087872; a=rsa-sha256; cv=none; b=tZ/x6AxqLhpRtf+0T4Wmktoaa7YYz4Im/+TVhZchp/MZlm+rC3ijLGrbRHIf4N2c+sRCD7 BrJf6N3bbCdeQ7ioaC4Eqwx73uO4pmqtNQacylrDv7Elp8ApFguZJyhGOkUIhxRFEZMTd+ dpUiw+WGP3gSDT7TgL+PcbLzDti34ys= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=mBDJFrny; dmarc=none; spf=pass (imf04.hostedemail.com: domain of axboe@kernel.dk designates 209.85.167.175 as permitted sender) smtp.mailfrom=axboe@kernel.dk ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1731087872; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=6OLsZMH/yTrwPfT+lkkEOmz1bcJxf1X+T+9jhpWMtjM=; b=GjV/4AkonCYf0d9I6HZFbCpSaC9O/c0iEFx1DkjEYydVsvk0JkeyCgka53Uo3M1BixnLKM NNfTf31KTqFNNZKzg3RTOJWD4dtSxOSJdR/t2AvbWEJDm0TXk5Ie5l4p69al9KsfwZehAN EisNSShRz/GlsSxig9x6GDnPzPByPrI= Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3e60966297fso1316717b6e.1 for <linux-mm@kvack.org>; Fri, 08 Nov 2024 09:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1731087931; x=1731692731; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6OLsZMH/yTrwPfT+lkkEOmz1bcJxf1X+T+9jhpWMtjM=; b=mBDJFrnyvYAe5vjlsTERPNP7vKHIxUio7kXgTjgXKuwefuhBmyVfxs70eCCw3/TDIt aKA+7y+IKWYvFahOhRbG5K36jEElMkDkQScJltXu5Y8OGNde2YiZwH93rli2iqyrC4Hy rYLIaXYrxyILmowNUl42TvxbnIx/JbseKiFv6iK85KRMI7FbjoOIk8ly/M1PAZmha7Jd nRhv0z1KVgNo/S+82tPZpzIwRqkfyo73tgWFKbifszOWwKWR2MQs9wmSDQzOjBuQfyDx xgRWFi1fMB/LJ3kZLPenN1RMYpuW0A0+D2ifiLP1drbAhvRA1KUcxy5Uk+hFIhAE/xmw nmlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731087931; x=1731692731; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6OLsZMH/yTrwPfT+lkkEOmz1bcJxf1X+T+9jhpWMtjM=; b=afouW4viZyR/OWsIryrea/MaD/8xv9LOVOqAn76wkRfB2QE+xlLzNYAVVHsyT4NzRp kDCmkoHTCpaOBTMKvgNJVUL9fmS3nqYK7axUNQlO755UqljySSDC6YCGIT2F2LaOy93X PSVDEi08EY0droUi4Hnwei9HpiLXihb/HkMghJ4JW5qwKTSzfEnR/y4Fu964+N4PJU4r qrS4VQyC+LJwghT8KNeIhFsYuNzmg/yO7LdXVxkX3FaOdRBAzTnsjyb7lmzxpPOqqlkM G+1wzgz8m7snL3XfFpNSJ6jnrwiTARHGrE2QL7vqaz675cAoZBpRrtoMBsYEfDyNcsLD 6E/A== X-Gm-Message-State: AOJu0YxRGRAO6C8PtRieiGkf8V3QwFjUAk5uEubwtRwk4aTK8hTQsqcL Qyj8/Mlkyl1V+zgUHqxy/upY3TeHDxmVBe1DDhjb9h5xdyWfZKa0cqVRGqgU1+4Cd8B9SL83+S5 /sQE= X-Google-Smtp-Source: AGHT+IHwGGg69OZHlPE1gXTTmbyei/EPohHpGXOl/6pBBWBH6HgFHFaQI6UOOM7LN2ifcEJcud5MBQ== X-Received: by 2002:a05:6808:219f:b0:3e6:366f:8e3b with SMTP id 5614622812f47-3e79475a747mr4137297b6e.39.1731087931319; Fri, 08 Nov 2024 09:45:31 -0800 (PST) Received: from localhost.localdomain ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3e78cd28f80sm780969b6e.39.2024.11.08.09.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 09:45:30 -0800 (PST) From: Jens Axboe <axboe@kernel.dk> To: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: hannes@cmpxchg.org, clm@meta.com, linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk> Subject: [PATCH 13/13] xfs: flag as supporting FOP_UNCACHED Date: Fri, 8 Nov 2024 10:43:36 -0700 Message-ID: <20241108174505.1214230-14-axboe@kernel.dk> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241108174505.1214230-1-axboe@kernel.dk> References: <20241108174505.1214230-1-axboe@kernel.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Queue-Id: 9A5364001D X-Rspamd-Server: rspam11 X-Stat-Signature: drz3q66ydnuo1sxob6wyh9u3ip87pnfd X-HE-Tag: 1731087885-208148 X-HE-Meta: U2FsdGVkX19wJNRuD6WJpupR8b0GyrUG/0XTkVBb/zJa9afUcyU8/sOlG1pvrG831nAaq6NzXmXDzczKDEe9QvENXLDd0c2gHJeP9CAcf9PVwKKhUgja8n+/mPvUQoCcC27rIKEGrMCkTyIWHf/dsVYOjoYD/IWQJUOHvPy+UOabNwbfTsUHafiOhwe5qIjBfWJndjVWQtiVC/FahHIqC2sdR7qbOTOFJiszH5y1d1rYK5v6K/Oe0OzYlZgNgdbejQYFWymplYjfeA7Neri+swsCFLiQevBmIxBTwun1tQCB11G8950+aCezJPQfwdkrB1dzVXGKfI9q6huNJvcU+R6IWMDpPoxmhucX7yLthoriZ5Ek1KaEW2Auav8WDfumKN1FzPHew+rMsUKqTLJuwsMcq26T9hjhG4t9jzopfhJdPolbLqhIE8QWIc3mZouWKuB3FgTd0DIGXSoEoXXdYHNF4Q2zZEXLfNlejEKb1B8r5EjODe3tt3HkUos5426nnsmO/4u/OTN6ZxblFCsJTqjHfj8liQSFxrUnHpcZ1hXMSU3FH60ookKsjTrXkLhOEfItpKwmCTeH2o5gLngEJlO/ehChYvkMn+JSgNab/QHKDn5IGZFmMu53gFZl+bYx0q/Uk8WnxV77YBMN7IKLgE3TD5pZqKX6eaRi1JoGiYpNWAxdhnjC+OGR02fI7JuIeQpk94fAo454aOYYR0dsaI2W1Pr6cU53P589glU8KmW3Wt6vSgRdwNwDVRrbqY1KbDY61QDa0h5lgQPHieCqTbNoUiZD+hbQ7IcEsY+FY6IksBwpjDDAZeFy/UUscUgxdysKGGzkT0U3fHD+yaJsyDLr5e2Gden/1wrgLDQMzmjw+Xht9Zfb94DW6DwpTrcOV5TLGYmG8NPJn1LqFmDmRkztpR9oCnhM5i9K0tKXaO8LbD0EYb9Db+/MCZoqjUwVSweLDA6y9hAeYtHHHKz 3bwrfpgx zzTkMr4Nn/Ebu7JnO2YPwtn0TbE0w+6pq9WWuyQ91/hQEqztyAhpHP3R186TIr8zg5ycZ5MTj0ZChhvI3J7uwEtbLro+zffZkYfDWjwBZbdZUYwHrXT7J4rlPhwLVUo78YfFznJbiSAkcEVAwjEjTDGMkhrzN7XGMLc8fKU4r3VmQylZMe55dE1vvz97bgp9a9R1nY//FXULt0XVbk1AzAqRCTBiKeFgwtIkzG6fe1B8zzSOZq86WjnKzk3E6s0VodAqO+c8ew709uvR8UlL5e30/1YEnEQyFSd15z2BhtR0jXrWXTWZoiFZ0YzsF81qKlxoqsRaCqSq6xIv7As9i6AcubbWWXddW9Fby 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
[01/13] mm/filemap: change filemap_create_folio() to take a struct kiocb
|
expand
|
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index b19916b11fd5..4fe593896bc5 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -1595,7 +1595,8 @@ const struct file_operations xfs_file_operations = { .fadvise = xfs_file_fadvise, .remap_file_range = xfs_file_remap_range, .fop_flags = FOP_MMAP_SYNC | FOP_BUFFER_RASYNC | - FOP_BUFFER_WASYNC | FOP_DIO_PARALLEL_WRITE, + FOP_BUFFER_WASYNC | FOP_DIO_PARALLEL_WRITE | + FOP_UNCACHED, }; const struct file_operations xfs_dir_file_operations = {
iomap supports uncached IO, enable the use of RWF_UNCACHED with XFS by flagging support with FOP_UNCACHED. Signed-off-by: Jens Axboe <axboe@kernel.dk> --- fs/xfs/xfs_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)