fix: block: remove the error argument to the block_bio_complete (v5.8)
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 15 Jun 2020 15:06:13 +0000 (11:06 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jun 2020 19:57:36 +0000 (15:57 -0400)
commitc6afb465bc0f661d85d8cda9316032e6e601707e
tree9f672066945d57c37a579a342191de06e5525a79
parente2c9e703ef7a551937f91beeebf1736c704bf931
fix: block: remove the error argument to the block_bio_complete (v5.8)

See upstream commit:

  commit d24de76af836260a99ca2ba281a937bd5bc55591
  Author: Christoph Hellwig <hch@lst.de>
  Date:   Wed Jun 3 07:14:43 2020 +0200

    block: remove the error argument to the block_bio_complete tracepoint

    The status can be trivially derived from the bio itself.  That also avoid
    callers like NVMe to incorrectly pass a blk_status_t instead of the errno,
    and the overhead of translating the blk_status_t to the errno in the I/O
    completion fast path when no tracing is enabled.

Fixes: 35fe0d12c8a3 ("nvme: trace bio completion")
Change-Id: I8d1463184d79bfab418a1755bfc6a0200170fff3
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/block.h
This page took 0.025737 seconds and 4 git commands to generate.