]> git.lttng.org Git - lttng-modules.git/commitdiff
Fix: REQ_OP_WRITE_SAME removed in SLE15 SP5
authorKienan Stewart <kstewart@efficios.com>
Fri, 24 Jan 2025 19:58:47 +0000 (19:58 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 Jan 2025 18:58:59 +0000 (13:58 -0500)
See upstream SUSE commit:

    commit f9d378fde421f331e9f1f18f3b2cbdaf9fcd0a1a
    Author: Hannes Reinecke <hare@suse.de>
    Date:   Sat Nov 26 13:51:49 2022 +0100

        - block: remove genhd.h (jsc#PED-1183).
        - Refresh
          patches.suse/0006-nvdimm-blk-Delete-the-block-aperture-window-driver.patch.
        - Refresh
          patches.suse/0007-PM-hibernate-encrypt-hidden-area.patch.
        - Refresh patches.suse/target-add-rbd-backend.patch.

        suse-commit: dd0982ae4edd5e7142e6ed1676269d54ac51d7df

Change-Id: I72e3af82a5580dc28415c6c8677097e85ab5f926
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/block.h

index 47c51aef9cff53ca59eb9388568708ff0ec54e83..aa18909e3411fe44c25682500c17430d66269d3c 100644 (file)
@@ -71,7 +71,8 @@ LTTNG_TRACEPOINT_ENUM(block_rq_type,
 #define lttng_bio_rw(bio)      ((bio)->bi_opf)
 
 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0) \
-       || LTTNG_RHEL_KERNEL_RANGE(5,14,0,162,0,0, 5,15,0,0,0,0))
+       || LTTNG_RHEL_KERNEL_RANGE(5,14,0,162,0,0, 5,15,0,0,0,0) \
+       || LTTNG_SLE_VERSION_CODE >= LTTNG_SLE_VERSION(150500, 0, 0))
 #ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM
 #define blk_rwbs_ctf_integer(type, rwbs, op, rw, bytes)                              \
                ctf_enum(block_rq_type, type, rwbs,                                           \
This page took 0.031415 seconds and 4 git commands to generate.