]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfs: Defer the emission of trace_netfs_folio()
authorDavid Howells <dhowells@redhat.com>
Tue, 12 May 2026 12:33:49 +0000 (13:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jun 2026 15:46:27 +0000 (17:46 +0200)
commitcfbfc25609bd7a34c45da93db452e438e49af292
tree8b558a3c0d1845c57dfef3242411a39b49869bd2
parent31ba145faceb378fa01afcb8349e15ea7d95e542
netfs: Defer the emission of trace_netfs_folio()

[ Upstream commit daeb443b92817021c1234e8eded219e164b7c35d ]

Change netfs_perform_write() to keep the netfs_folio trace value in a
variable and emit it later to make it easier to choose the value displayed.
This is a prerequisite for a subsequent patch.

Closes: https://sashiko.dev/#/patchset/20260414082004.3756080-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260512123404.719402-13-dhowells@redhat.com
cc: Paulo Alcantara <pc@manguebit.org>
cc: Matthew Wilcox <willy@infradead.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 7b4dcf1b9455 ("netfs: Fix streaming write being overwritten")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/netfs/buffered_write.c