From 6550f688a08323d92aec44cedfa2e844efd3819d Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 24 Jan 2025 19:58:47 +0000 Subject: [PATCH] Fix: REQ_OP_WRITE_SAME removed in SLE15 SP5 See upstream SUSE commit: commit f9d378fde421f331e9f1f18f3b2cbdaf9fcd0a1a Author: Hannes Reinecke 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 Signed-off-by: Mathieu Desnoyers --- include/instrumentation/events/block.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/instrumentation/events/block.h b/include/instrumentation/events/block.h index c5242ffb..121fb7c6 100644 --- a/include/instrumentation/events/block.h +++ b/include/instrumentation/events/block.h @@ -68,7 +68,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, \ -- 2.39.5