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:32 +0000 (15:57 -0400)
commitfd3d2e7837394550f2600f17833ed8e4a699730b
treef7d42742066da653e83670e79970f5f769902d4d
parent9f29d2129980e5b09425d069cd89b253054a9347
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.026015 seconds and 4 git commands to generate.