Message ID | 20241108174505.1214230-13-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 87BA3D64075 for <linux-mm@archiver.kernel.org>; Fri, 8 Nov 2024 17:45:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C957C6B00BB; Fri, 8 Nov 2024 12:45:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BF6D66B00E9; Fri, 8 Nov 2024 12:45:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A6F1A6B00EC; Fri, 8 Nov 2024 12:45:33 -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 7FB396B00BB for <linux-mm@kvack.org>; Fri, 8 Nov 2024 12:45:33 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 3C2561A0E6F for <linux-mm@kvack.org>; Fri, 8 Nov 2024 17:45:33 +0000 (UTC) X-FDA: 82763654274.11.F56C444 Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) by imf30.hostedemail.com (Postfix) with ESMTP id 9041580004 for <linux-mm@kvack.org>; Fri, 8 Nov 2024 17:44:21 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b="I37hv0/b"; dmarc=none; spf=pass (imf30.hostedemail.com: domain of axboe@kernel.dk designates 209.85.167.178 as permitted sender) smtp.mailfrom=axboe@kernel.dk ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731087871; a=rsa-sha256; cv=none; b=UNqvVm5enzTGOHVePlXkNFULfWTmSk1I8aH1vjVjZDIBqS5ELQitJMwagFoJBtaFO01AQU X08wwIqtG3pGQkQiz2VFdD+6k1QaGmK1ODRsbXsu+PsHY/FR9mls0ylVDnuSEE62G/FGSq 9NTjJHZJqatZsuNjMYiaohBJwXrWl78= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b="I37hv0/b"; dmarc=none; spf=pass (imf30.hostedemail.com: domain of axboe@kernel.dk designates 209.85.167.178 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=1731087871; 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=VQL0Yvui1/uihQbO1amlpE3hTYTghb1QS2rKG5UGAbk=; b=V2SU9DZuTP78Eitm20Vt1gxx7Nn3RJiEjSKluDQBeTxBNY9ia+5U78UDGyPQ9JTQaXJljC rlGRhQl6HtK5e5Z2auGWFsnlwSlgfAqQbyTUzBlBWdu2HE8g9ZrqGnRNhOtz2BCE5UfuCM 52pfELyiUwxhSsFzp52HbXqfkM5/7Cs= Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3e6089a1d39so1296209b6e.0 for <linux-mm@kvack.org>; Fri, 08 Nov 2024 09:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1731087930; x=1731692730; 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=VQL0Yvui1/uihQbO1amlpE3hTYTghb1QS2rKG5UGAbk=; b=I37hv0/bjcTr+F9YBxP1/BzTAtjKU3dMzIdnTXT0GthsyCiLmXKXo0YJ7vxXbMlPCh Qx2cdXNadXkTGceiEVHDN4Xqmh826b1qV20nTfhaJMDXLzPFf5Y8NEYfF0cLTzMRWVG2 iXhiAm4FDTQHsOvArQXk4MNTaEiNiqqvOE0MfOpHhnH2s6zrMUm6O8LzUmy1VhMuZqyO 3csSoJHPi4m5lqdds0Mc+ZrKPUG1Gy1z7RgZCWD+r9gZju2rMuDq2BeDqTGzB4YEhjIA lcXwwIZXouEAKEfx8txwTUxTNxs9aqF1iMITL08RxXt7yCn4VIoK+wlvc6x0Tzl5C5Is GF1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731087930; x=1731692730; 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=VQL0Yvui1/uihQbO1amlpE3hTYTghb1QS2rKG5UGAbk=; b=XevSONiQipVKkUOUJ9TfTNbskJvUmxWEw1tzZKCSZtPISFlQ9crShxdVUk29pIvSxY +yJshfmG/7JHB+qTlb+y/rXbJrnS5xpqc5MAh0boQHwb9ZiYgDPnH5rDDpqXwK14zs36 d4LyLBt8OcVm+tE3KvzMwmgfztOIPUcJ1gBQUEbLQKHaAnimjDL+9b/5CblDx1GWa6wg InQHUE8/zPnto7Pt1JPL2VAs/FQAltGKEAFcMPHI4GutqpT/rKhRWOWX83ShCBicCWgh qemos8cdGcrm0XlQdjodwvD0XlcvIWTCnJlTLlU9nz2HfcbZYgkk2eJaGKDfI8ldA23f l18Q== X-Gm-Message-State: AOJu0Yw59TXNzhVNIaku2uJvZwwvoLeSMMyositMUM7stVu5eVWXGt/c jKcaSFLNWSpnwRxpISe8Vw0wPofs/6mtuUwUtGVszWqty9s1SF2m44ByBFQgKaK8CYJLmDnUDCZ UXTs= X-Google-Smtp-Source: AGHT+IF8148kIy+GR70FdSYcCZ0fiyujzQfL1vs9+4lT648aDmaAqJC/hHYFUZhM+2GwXQZ5gTEvug== X-Received: by 2002:a05:6808:f89:b0:3e6:62fa:6b04 with SMTP id 5614622812f47-3e794720349mr5084554b6e.32.1731087929940; Fri, 08 Nov 2024 09:45:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 09:45:29 -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 12/13] ext4: flag as supporting FOP_UNCACHED Date: Fri, 8 Nov 2024 10:43:35 -0700 Message-ID: <20241108174505.1214230-13-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: 9041580004 X-Rspamd-Server: rspam11 X-Stat-Signature: 8rixpecb8h61uu1txxsn4un7uyzwzqju X-HE-Tag: 1731087861-887661 X-HE-Meta: U2FsdGVkX19G45D6YpBy9nhBjcHoVKBCl9RPXr4fzO66HYd7xiYnF6jXTGDSgzYa2jHJYLO+nwltSemdpVThGvHaoSM1A4+/sSl6BScgYJriKmXe0Y/RfhIGiAzKt/k8uF2/rLsRJLxBLKI0tS1vnuYnckpNNDniGBUI45FFZGk3nj0yWkuC9HjaMkdJHMdfQS9Ka9gPoTlYHjNLQPs0D25dHcZGU1bHMcDuO5pwMp97vVGRW6TOGk9d0OlYsw2NWzp9eelx549tsdbOeLPLHlYGXcZRdNowj8TNDwqBtGn0DKYQB4BKpPj/xWwQO7zWKXbK/xv1ttO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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/ext4/file.c b/fs/ext4/file.c index f14aed14b9cf..0ef39d738598 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -944,7 +944,7 @@ const struct file_operations ext4_file_operations = { .splice_write = iter_file_splice_write, .fallocate = ext4_fallocate, .fop_flags = FOP_MMAP_SYNC | FOP_BUFFER_RASYNC | - FOP_DIO_PARALLEL_WRITE, + FOP_DIO_PARALLEL_WRITE | FOP_UNCACHED, }; const struct inode_operations ext4_file_inode_operations = {
ext4 uses the generic read/write paths, and can fully support FOP_UNCACHED. Set the flag to indicate support, enabling use of RWF_UNCACHED. Signed-off-by: Jens Axboe <axboe@kernel.dk> --- fs/ext4/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)