File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1287,6 +1287,7 @@ static void nfs4_put_copy(struct nfsd4_copy *copy)
1287
1287
1288
1288
static void nfsd4_stop_copy (struct nfsd4_copy * copy )
1289
1289
{
1290
+ trace_nfsd_copy_async_cancel (copy );
1290
1291
if (!test_and_set_bit (NFSD4_COPY_F_STOPPED , & copy -> cp_flags ))
1291
1292
kthread_stop (copy -> copy_task );
1292
1293
nfs4_put_copy (copy );
Original file line number Diff line number Diff line change @@ -2244,7 +2244,7 @@ TRACE_EVENT(nfsd_copy_done,
2244
2244
)
2245
2245
);
2246
2246
2247
- TRACE_EVENT ( nfsd_copy_async_done ,
2247
+ DECLARE_EVENT_CLASS ( nfsd_copy_async_done_class ,
2248
2248
TP_PROTO (
2249
2249
const struct nfsd4_copy * copy
2250
2250
),
@@ -2313,6 +2313,15 @@ TRACE_EVENT(nfsd_copy_async_done,
2313
2313
)
2314
2314
);
2315
2315
2316
+ #define DEFINE_COPY_ASYNC_DONE_EVENT (name ) \
2317
+ DEFINE_EVENT(nfsd_copy_async_done_class, \
2318
+ nfsd_copy_async_##name, \
2319
+ TP_PROTO(const struct nfsd4_copy *copy), \
2320
+ TP_ARGS(copy))
2321
+
2322
+ DEFINE_COPY_ASYNC_DONE_EVENT (done );
2323
+ DEFINE_COPY_ASYNC_DONE_EVENT (cancel );
2324
+
2316
2325
#endif /* _NFSD_TRACE_H */
2317
2326
2318
2327
#undef TRACE_INCLUDE_PATH
You can’t perform that action at this time.
0 commit comments