summaryrefslogtreecommitdiff
path: root/fs/netfs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-01-05 17:55:52 +0300
committerDavid Howells <dhowells@redhat.com>2024-01-05 18:22:37 +0300
commit4088e389476e3baababf9b22f34b9d8b3e557344 (patch)
tree7f055ee641a2cd7d12c7deca2b50c94cf436b149 /fs/netfs/internal.h
parent0e4d464cda4c5996402343d4c9e2b6ceec716f93 (diff)
downloadlinux-4088e389476e3baababf9b22f34b9d8b3e557344.tar.xz
netfs: Count DIO writes
Provide a counter for DIO writes to match that for DIO reads. Signed-off-by: David Howells <dhowells@redhat.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org
Diffstat (limited to 'fs/netfs/internal.h')
-rw-r--r--fs/netfs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/netfs/internal.h b/fs/netfs/internal.h
index a6dfc8888377..3f9620d0fa63 100644
--- a/fs/netfs/internal.h
+++ b/fs/netfs/internal.h
@@ -104,6 +104,7 @@ int netfs_end_writethrough(struct netfs_io_request *wreq, struct kiocb *iocb);
*/
#ifdef CONFIG_NETFS_STATS
extern atomic_t netfs_n_rh_dio_read;
+extern atomic_t netfs_n_rh_dio_write;
extern atomic_t netfs_n_rh_readahead;
extern atomic_t netfs_n_rh_readpage;
extern atomic_t netfs_n_rh_rreq;