fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 14 Dec 2021 20:13:20 +0000 (15:13 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 Jan 2022 18:49:54 +0000 (13:49 -0500)
commit2f0087ab96e64ec80e576508bcb024d3acba1c01
tree14b3bef0587118e33065707c6056ce7c81f8b9dd
parent9b092ff23099b1238cbc013c14d12f0a900682e6
fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)

See upstream commit :

  commit 8a7d267b4a2c71a5ff5dd9046abea7117c7d0ac2
  Author: Christoph Hellwig <hch@lst.de>
  Date:   Mon Oct 18 10:45:18 2021 +0200

    block: don't call blk_status_to_errno in blk_update_request

    We only need to call it to resolve the blk_status_t -> errno mapping for
    tracing, so move the conversion into the tracepoints that are not called
    at all when tracing isn't enabled.

Change-Id: Ic556cee1d82e44a93a1467f55d45b6e17a48d387
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.027813 seconds and 4 git commands to generate.