]> git.ipfire.org Git - thirdparty/linux.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)
committerChristian Brauner <brauner@kernel.org>
Tue, 12 May 2026 12:42:31 +0000 (14:42 +0200)
commitdaeb443b92817021c1234e8eded219e164b7c35d
treecc9984500620fdf68ddac77431432d79ae1316a5
parent156ac2ec2ee77c44c4eb7439d6d165247ba12247
netfs: Defer the emission of trace_netfs_folio()

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>
fs/netfs/buffered_write.c