@@ -2146,6 +2146,10 @@ DECLARE_EVENT_CLASS(nfsd_copy_class,
2146
2146
__field (u32 , dst_cl_id )
2147
2147
__field (u32 , dst_so_id )
2148
2148
__field (u32 , dst_si_generation )
2149
+ __field (u32 , cb_cl_boot )
2150
+ __field (u32 , cb_cl_id )
2151
+ __field (u32 , cb_so_id )
2152
+ __field (u32 , cb_si_generation )
2149
2153
__field (u64 , src_cp_pos )
2150
2154
__field (u64 , dst_cp_pos )
2151
2155
__field (u64 , cp_count )
@@ -2154,6 +2158,7 @@ DECLARE_EVENT_CLASS(nfsd_copy_class,
2154
2158
TP_fast_assign (
2155
2159
const stateid_t * src_stp = & copy -> cp_src_stateid ;
2156
2160
const stateid_t * dst_stp = & copy -> cp_dst_stateid ;
2161
+ const stateid_t * cb_stp = & copy -> cp_res .cb_stateid ;
2157
2162
2158
2163
__entry -> intra = test_bit (NFSD4_COPY_F_INTRA , & copy -> cp_flags );
2159
2164
__entry -> async = !test_bit (NFSD4_COPY_F_SYNCHRONOUS , & copy -> cp_flags );
@@ -2165,6 +2170,10 @@ DECLARE_EVENT_CLASS(nfsd_copy_class,
2165
2170
__entry -> dst_cl_id = dst_stp -> si_opaque .so_clid .cl_id ;
2166
2171
__entry -> dst_so_id = dst_stp -> si_opaque .so_id ;
2167
2172
__entry -> dst_si_generation = dst_stp -> si_generation ;
2173
+ __entry -> cb_cl_boot = cb_stp -> si_opaque .so_clid .cl_boot ;
2174
+ __entry -> cb_cl_id = cb_stp -> si_opaque .so_clid .cl_id ;
2175
+ __entry -> cb_so_id = cb_stp -> si_opaque .so_id ;
2176
+ __entry -> cb_si_generation = cb_stp -> si_generation ;
2168
2177
__entry -> src_cp_pos = copy -> cp_src_pos ;
2169
2178
__entry -> dst_cp_pos = copy -> cp_dst_pos ;
2170
2179
__entry -> cp_count = copy -> cp_count ;
@@ -2174,12 +2183,15 @@ DECLARE_EVENT_CLASS(nfsd_copy_class,
2174
2183
TP_printk ("client=%pISpc intra=%d async=%d "
2175
2184
"src_client %08x:%08x src_stateid %08x:%08x "
2176
2185
"dst_client %08x:%08x dst_stateid %08x:%08x "
2186
+ "cb_client %08x:%08x cb_stateid %08x:%08x "
2177
2187
"cp_src_pos=%llu cp_dst_pos=%llu cp_count=%llu" ,
2178
2188
__get_sockaddr (addr ), __entry -> intra , __entry -> async ,
2179
2189
__entry -> src_cl_boot , __entry -> src_cl_id ,
2180
2190
__entry -> src_so_id , __entry -> src_si_generation ,
2181
2191
__entry -> dst_cl_boot , __entry -> dst_cl_id ,
2182
2192
__entry -> dst_so_id , __entry -> dst_si_generation ,
2193
+ __entry -> cb_cl_boot , __entry -> cb_cl_id ,
2194
+ __entry -> cb_so_id , __entry -> cb_si_generation ,
2183
2195
__entry -> src_cp_pos , __entry -> dst_cp_pos , __entry -> cp_count
2184
2196
)
2185
2197
);
0 commit comments