Message ID | 20241108174505.1214230-13-axboe@kernel.dk (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F6AE21FDB7 for <linux-fsdevel@vger.kernel.org>; Fri, 8 Nov 2024 17:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731087932; cv=none; b=CmMDQNAxGoQSfGylABvvXuXB4kQ/nFtRjnyfW+BzlqfR4fo2Iy/rDAXvGfoVc5Renk1+sXR3Auiw5yGTbaFFMdHlb4U+QV9ffawLpRCPc/Fk4oRn9JNW1xqKtlGDc5rvO33FieHK/EH9S9xGpK/4W4NISIgyF65cvzWNPB0lwGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731087932; c=relaxed/simple; bh=1VnlS1RCwZciciCsk6/J6hl4e+sRw9JmzWzfIz5VZZI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eg71ypiBjl/tE4YnzSQJI3u1aTq8eCVBi6+WgKmYNpENp307o1+fJxYLEc4qvN5pie+C0wCBoQe7AT7ejWaX9C+ii2+iDCbRFAd4qa3Kx1HbOaINO0A85cfWT8UbfkYS4f57fTqaGWgWz4NPnWUj2B3VU15Ap4mwjhvm/UVJ5Ns= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=HZMR+K+U; arc=none smtp.client-ip=209.85.167.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="HZMR+K+U" Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3e5f968230bso1270917b6e.3 for <linux-fsdevel@vger.kernel.org>; Fri, 08 Nov 2024 09:45:30 -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=vger.kernel.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=HZMR+K+UmDqm6puflnCGMy7nlolPnAyfUPgt8uND2tZ10eFGflNNgGQkNWw1aIurm9 LcnzgQCdQzPsuYs93NhwYqgnQjG5zSzHtpykr4KJaRlO6ksiZHvo7KI1LMvfKQuLeBYC 7KyX+yjhNh6jX4AGArhnXPb7bFMtOeiHLHSDgbGlv8Ir+fj5WwxFrqJEpceihCDELc6k ieDX9f9zMoKIDho0vcRTLkVXGE+Jm3ZP8BH7mybdJl3mcGhyW2l4+sUjYv+dc3SSxcaQ sRCJzyp6Zb1hCPSeWTJTfxn7/BAx12kiIpbszMcRW/JF2reHktKeJAVUoRD7y/LFJ33y ndEw== 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=vx7dtPzX2o74NmiNOSe+00sYawC03GzVN1HJF75Tu7A7H9PI6oFEyJB2okInP9KdDf 5I3Vyd41XLSIWyqX7S99eQWu1whi5ud0I5StGYGtAJkdGN1N0o4SMwsaHO2Kv/IK9O8w E5hHJXdW1VvYcYMJ9H7K2R4Tr6Ye7i8xAFdr5eNkRBLoirfh8nYLg+78gpPljdDc4h58 QDkoVZ6F+N3H150o2vhcoq9giQGvjDstZm1C9kukDdCLkIfgI2oFBr7N1h+498x9KEdz gIX/WYfhc9gNArGZTJ09yUak3t70+fZCakE0f5V0bLNYuGoJasrwKyXh2ykEKK/P8lQc fTyw== X-Forwarded-Encrypted: i=1; AJvYcCUMX2mzgsl9fc6Bpk2R3r8K9Yxw3cuFI9XurVrDyOcxCIa+m8ukpx61qAeBQ+zkLcFQtMWHLznC0Zx2FlOY@vger.kernel.org X-Gm-Message-State: AOJu0YyUGjxpCGzodKxlKSjd83hmUowjEKWumpodrsL4SAG09p4FKw98 z9nsdgPpxUOywJRG5z0LbiZQnuMdV69QXOW5zf3YDldOvrlvVP3My4f1rl3nYoA= 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> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: <linux-fsdevel.vger.kernel.org> List-Subscribe: <mailto:linux-fsdevel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fsdevel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
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(-)