]> git.lttng.org Git - lttng-modules.git/commitdiff
Fix: block_len removed frmo btrfs_get_extent in 6.11-rc1
authorKienan Stewart <kstewart@efficios.com>
Mon, 29 Jul 2024 14:12:47 +0000 (14:12 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 26 Aug 2024 17:27:32 +0000 (13:27 -0400)
See upstream commit:

    commit e28b851ed9b232c3b84cb8d0fedbdfa8ca881386
    Author: Qu Wenruo <wqu@suse.com>
    Date:   Tue Apr 30 07:53:05 2024 +0930

        btrfs: remove extent_map::block_len member

        The extent_map::block_len is either extent_map::len (non-compressed
        extent) or extent_map::disk_num_bytes (compressed extent).

        Since we already have sanity checks to do the cross-checks between the
        new and old members, we can drop the old extent_map::block_len now.

        For most call sites, they can manually select extent_map::len or
        extent_map::disk_num_bytes, since most if not all of them have checked
        if the extent is compressed.

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

index dfad19c8a699154c59ed77b7f94e0af9bf5217ed..28320d83a100afbc6d2f30fec782e4958b84eb2c 100644 (file)
@@ -192,7 +192,6 @@ LTTNG_TRACEPOINT_EVENT(btrfs_get_extent,
                ctf_integer(u64, start, map->start)
                ctf_integer(u64, len, map->len)
                ctf_integer(u64, block_start, map->block_start)
-               ctf_integer(u64, block_len, map->block_len)
                ctf_integer(unsigned int, flags, map->flags)
                ctf_integer(int, refs, refcount_read(&map->refs))
                ctf_integer(unsigned int, compress_type, extent_map_compression(map))
This page took 0.031824 seconds and 4 git commands to generate.