10
10
#include "internal.h"
11
11
12
12
atomic_t netfs_n_rh_dio_read ;
13
+ atomic_t netfs_n_rh_dio_write ;
13
14
atomic_t netfs_n_rh_readahead ;
14
15
atomic_t netfs_n_rh_readpage ;
15
16
atomic_t netfs_n_rh_rreq ;
@@ -37,14 +38,13 @@ atomic_t netfs_n_wh_write_failed;
37
38
38
39
int netfs_stats_show (struct seq_file * m , void * v )
39
40
{
40
- seq_printf (m , "Netfs : DR=%u RA =%u RP =%u WB =%u WBZ =%u rr=%u sr =%u\n" ,
41
+ seq_printf (m , "Netfs : DR=%u DW =%u RA =%u RP =%u WB =%u WBZ =%u\n" ,
41
42
atomic_read (& netfs_n_rh_dio_read ),
43
+ atomic_read (& netfs_n_rh_dio_write ),
42
44
atomic_read (& netfs_n_rh_readahead ),
43
45
atomic_read (& netfs_n_rh_readpage ),
44
46
atomic_read (& netfs_n_rh_write_begin ),
45
- atomic_read (& netfs_n_rh_write_zskip ),
46
- atomic_read (& netfs_n_rh_rreq ),
47
- atomic_read (& netfs_n_rh_sreq ));
47
+ atomic_read (& netfs_n_rh_write_zskip ));
48
48
seq_printf (m , "Netfs : ZR=%u sh=%u sk=%u\n" ,
49
49
atomic_read (& netfs_n_rh_zero ),
50
50
atomic_read (& netfs_n_rh_short_read ),
@@ -66,6 +66,9 @@ int netfs_stats_show(struct seq_file *m, void *v)
66
66
atomic_read (& netfs_n_wh_write ),
67
67
atomic_read (& netfs_n_wh_write_done ),
68
68
atomic_read (& netfs_n_wh_write_failed ));
69
+ seq_printf (m , "Netfs : rr=%u sr=%u\n" ,
70
+ atomic_read (& netfs_n_rh_rreq ),
71
+ atomic_read (& netfs_n_rh_sreq ));
69
72
return fscache_stats_show (m );
70
73
}
71
74
EXPORT_SYMBOL (netfs_stats_show );
0 commit comments