]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/blktrace_api.h
block: cleanup tracing
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Jan 2017 08:35:54 +0000 (09:35 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 22:08:35 +0000 (15:08 -0700)
commit48b77ad6084481ef9330a5d2bee289966da0975b
treeec332b20a788843320c1fed26820592793b13fe2
parent6d247d7f71d1fa4b66a5f4da7b1daa21510d529b
block: cleanup tracing

A couple tweaks to the tracing code:

 - trace the request size for all requests
 - trace request sector and nr_sectors only for fs requests, enforced by
   helpers
 - drop SCSI CDB tracing - we have SCSI tracing for this and are going
   to me the CDB out of the generic struct request soon.

With this the tracing code stops to know about BLOCK_PC requests entirely,
it's just FS vs passthrough requests now, where the latter includes any
driver-private requests.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blktrace_api.h
include/trace/events/block.h
kernel/trace/blktrace.c