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:55:36 +0000 (15:55 -0400)
commit3441e48eaf89229d8d76c13495d2c6cebad2fc51
tree74d140fd6e73f3c5a1f68d3d2da28e362a7affe8
parent4352d50825272fb3c3a9d8fc54fe87a73121e1ec
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>
include/instrumentation/events/block.h
This page took 0.02679 seconds and 4 git commands to generate.