]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf67ba56fe99bc32fec3499f83b1886ac03cff049
treeec332b20a788843320c1fed26820592793b13fe2
parent6cb7432786661c36cbfaf3fa1ce28d1e82f4e1dc
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