]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: trace sending nbd requests
authorMatt Mullins <mmullins@fb.com>
Fri, 26 Apr 2019 18:49:48 +0000 (11:49 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 27 Apr 2019 02:04:19 +0000 (19:04 -0700)
commit9b42e9ae1eabf3207edf2c0a9bfde42d3953534e
tree740b273cebfa9af47c98530803177034d6abb851
parentf1d7e579c0bfb0419574a2bd3c181f330c30525c
nbd: trace sending nbd requests

This adds a tracepoint that can both observe the nbd request being sent
to the server, as well as modify that request , e.g., setting a flag in
the request that will cause the server to collect detailed tracing data.

The struct request * being handled is included to permit correlation
with the block tracepoints.

Signed-off-by: Matt Mullins <mmullins@fb.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
MAINTAINERS
drivers/block/nbd.c
include/trace/events/nbd.h [new file with mode: 0644]