From patchwork Wed Apr 26 10:51:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Manana X-Patchwork-Id: 13224499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA013C7EE21 for ; Wed, 26 Apr 2023 10:53:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240553AbjDZKxH (ORCPT ); Wed, 26 Apr 2023 06:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240282AbjDZKxD (ORCPT ); Wed, 26 Apr 2023 06:53:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC18355A3 for ; Wed, 26 Apr 2023 03:52:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 29AAC63536 for ; Wed, 26 Apr 2023 10:51:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02C9AC4339B for ; Wed, 26 Apr 2023 10:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682506300; bh=zUioMPoM+71SACqhcR200IzbiuhNcXpi5McrsK1H0aA=; h=From:To:Subject:Date:From; b=KbJjY4eYInzR/Lahh+JBLzc2YCSQHN+PXisOthOmWlocLwA6Lc9MqsTguV3sO2fH+ /h6iq/V6b4hxM7Y2bd0oxrzH8fBlBsdKVmYEVO9ySPm4ji/0qeCQBC/3chPT5Pxe7I rYzBulihDWCcawIQ35pd+EYmwKIQPtZKEQ406VVL70CkEIYMJ/TepZohlOe+HyWzGI EKPgihYmzuTrPYOyRDvnS3otN3GaF/lvOC36P2lPHcmI84gX/DUoZy6+qQCMjwTvB3 JFsH23V1MEZWUwEC8ktttZPVS3d/Vrt1uUkJ1ZUb5zxa0p5z148nIaP7QuBxHVELNr W57cgFFuq/hFQ== From: fdmanana@kernel.org To: linux-btrfs@vger.kernel.org Subject: [PATCH 0/3] btrfs: improve sibling keys check failure report Date: Wed, 26 Apr 2023 11:51:34 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Filipe Manana This makes reporting of sibling key check failures more useful, by printing more exact stack traces in case the extent buffers are leaves and dumping the extent buffers. This is motivated by a recent report [1]. More details on the changelogs of each patch. [1] https://lore.kernel.org/linux-btrfs/20230423222213.5391.409509F4@e16-tech.com/ Filipe Manana (3): btrfs: abort transaction when sibling keys check fails for leaves btrfs: print extent buffers when sibling keys check fails btrfs: tag as unlikely the key comparison when checking sibling keys fs/btrfs/ctree.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)