summaryrefslogtreecommitdiffstats
path: root/fs/netfs/write_issue.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-03-26 09:48:44 +0100
committerDavid Howells <dhowells@redhat.com>2024-05-01 19:07:36 +0200
commit4824e5917f907c163d001c753c050bc547a72b71 (patch)
treeed57017dc637be01b737b9edea28185ba6eb7690 /fs/netfs/write_issue.c
parentnetfs: New writeback implementation (diff)
downloadlinux-4824e5917f907c163d001c753c050bc547a72b71.tar.xz
linux-4824e5917f907c163d001c753c050bc547a72b71.zip
netfs: Add some write-side stats and clean up some stat names
Add some write-side stats to count buffered writes, buffered writethrough, and writepages calls. Whilst we're at it, clean up the naming on some of the existing stats counters and organise the output into two sets. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'fs/netfs/write_issue.c')
-rw-r--r--fs/netfs/write_issue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/netfs/write_issue.c b/fs/netfs/write_issue.c
index 1b2e69934fbd..7ea86e33382c 100644
--- a/fs/netfs/write_issue.c
+++ b/fs/netfs/write_issue.c
@@ -519,6 +519,7 @@ int new_netfs_writepages(struct address_space *mapping,
}
trace_netfs_write(wreq, netfs_write_trace_writeback);
+ netfs_stat(&netfs_n_wh_writepages);
do {
_debug("wbiter %lx %llx", folio->index, wreq->start + wreq->submitted);