From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0393130FC1B for ; Thu, 16 Oct 2025 12:03:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760616240; cv=none; b=tXcS+RX/JdLUrffoNEcYLJKsqSLymS9Pi/VpKroIawWLN3DdS4h2yfe4/e61NEnVu9aS0MlLYY8TvZsbLoc5ylw5BzVqIYm2Bqusp8R8Tr7SxCia/TTfF8l/EOHc2Cv80OW4gimbaxxhOOIgC0EjTr1L9HcVNzbPEEY+U1IepVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760616240; c=relaxed/simple; bh=bBd534dvH7+XuO3ViPcGjruYsxqWiRF4PkqzqAmkgzo=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Xolo2AJWfuOqI7KSFg/xJCT21LUJypQMj7DjJ2se9vJDJOQ2GTE0pN/wilo5LA0UxQiU29ZVWNeXclJfQPv99iRzmwpdmfOC4FFHm5jr8YEkghSF4U2ucDfeySG07SMC50e37t5F2jRjPs5sg/bGTsScOgAXAci0xFaCxHd57dU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BS/2W+wX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="BS/2W+wX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58B0BC4CEF1; Thu, 16 Oct 2025 12:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760616239; bh=bBd534dvH7+XuO3ViPcGjruYsxqWiRF4PkqzqAmkgzo=; h=Subject:To:Cc:From:Date:From; b=BS/2W+wXuEXkmqGnvUPfI3LUkYXMlEr077kkCsUCilYEKJWW0hdepcWXRLnbT6+0X YLSLXM8JiDdgvxr+JenHtOERiH1jdlKGtGwK2WGPHWfofUhF6zunTkZ2cq0aCBFn63 6YH6z5uCFU0KAVo+J66n/zZbsPsDqpYmp6TMoWK0= Subject: FAILED: patch "[PATCH] blk-crypto: fix missing blktrace bio split events" failed to apply to 5.15-stable tree To: yukuai3@huawei.com,axboe@kernel.dk,bvanassche@acm.org,hch@lst.de Cc: From: Date: Thu, 16 Oct 2025 14:03:56 +0200 Message-ID: <2025101656-curdle-duration-949d@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 06d712d297649f48ebf1381d19bd24e942813b37 # git commit -s git send-email --to '' --in-reply-to '2025101656-curdle-duration-949d@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 06d712d297649f48ebf1381d19bd24e942813b37 Mon Sep 17 00:00:00 2001 From: Yu Kuai Date: Wed, 10 Sep 2025 14:30:45 +0800 Subject: [PATCH] blk-crypto: fix missing blktrace bio split events trace_block_split() is missing, resulting in blktrace inability to catch BIO split events and making it harder to analyze the BIO sequence. Cc: stable@vger.kernel.org Fixes: 488f6682c832 ("block: blk-crypto-fallback for Inline Encryption") Signed-off-by: Yu Kuai Reviewed-by: Bart Van Assche Reviewed-by: Christoph Hellwig Signed-off-by: Jens Axboe diff --git a/block/blk-crypto-fallback.c b/block/blk-crypto-fallback.c index dbc2d8784dab..27fa1ec4b264 100644 --- a/block/blk-crypto-fallback.c +++ b/block/blk-crypto-fallback.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "blk-cgroup.h" #include "blk-crypto-internal.h" @@ -230,7 +231,9 @@ static bool blk_crypto_fallback_split_bio_if_needed(struct bio **bio_ptr) bio->bi_status = BLK_STS_RESOURCE; return false; } + bio_chain(split_bio, bio); + trace_block_split(split_bio, bio->bi_iter.bi_sector); submit_bio_noacct(bio); *bio_ptr = split_bio; }