Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp881222rbb; Sun, 25 Feb 2024 08:07:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVuv2ckThu2ZrUC532egRBk8unnSZGw2b5J4+Kfa8OP2EbmeqtsVzKibT6XL8zFJCRfojNdJfFYOHMbZZFctcjM7gkkrWeabXy8ICM2ww== X-Google-Smtp-Source: AGHT+IEV2u0htQhecJzr1QaPLG4GP88Nf1Q2NsuON96O2071P5HOMqvdRbe7+zW3BicauSpFj9gi X-Received: by 2002:a17:902:da8b:b0:1db:e9ea:31 with SMTP id j11-20020a170902da8b00b001dbe9ea0031mr7848428plx.62.1708877249812; Sun, 25 Feb 2024 08:07:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708877249; cv=pass; d=google.com; s=arc-20160816; b=UlTUbSMWf9AH6hQvW6m3lCWadqeg8kgwkJnIYXqijNfn+7tAjZR95m3I0ouiEjSGWj fQYlMUVSydW5uYgygCr8Ku1LOCJPQjyAa9J95fwwXXM1b+I4T/sU3mapaGrgRH47LzxO wIsTHofpq3YdE0R8wZO21Dm+wHW1s/0I2qOKVNAKLrjwxdumj1YzkYD855gkmyfZ6x5y lGXNolkdFerxt15mV4ldnblX/vjV9bN3ojHoBwyU1Zwdx5tuTM5jvVE6sxfG4ZJzYr83 fn1fFCqGFg7E5v59nkTXkKX3ktKLeDFmp8RDoBIcVPkDg5ytB/bRgVq0kCrYMvO4qexB Ux4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=gRB5mRoUZdjLcMpcOzyXA/yV9oCYtE3HK3r97520qXw=; fh=zGhNp+f5djCsJqu+PJWkXvNy8RO1haQWrpA6fXHOr+s=; b=0HHBcqLm9X/Sdg0Q7kAxVTFyGPx7ZlRLN7VXImslPppX0I6GQrW5rIHB4heuGC28Xj rWvuegAmgoHajCWnUwGkLVNGuJ2EOsfz8cwJMLIUDqbbGJfM+ti8XGmo/QN1npWATT0w Y4Sq5GC4e+qbrczyWGKMs7VNMwCRn3QOLadf8NHrTJSAEKM5/20dqcLXVrIprFNX4Bd0 pvA221Ic9hx+MtgrSnqDoLklRn+AX/APNxLLDJ2R+wtAC1zep/Z/RHYBIRqnzTqe3pmT 2EAbEYJG/0x7LCWYcrmmjtL+csdOuVT6GoUqh5PTB79/lmbvs9HaG7g8knR4ZRtuvwbm OAiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z0fzgpB0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-ext4+bounces-1384-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1384-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q5-20020a17090a304500b0029a7c3eed65si3964130pjl.159.2024.02.25.08.07.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 08:07:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-1384-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z0fzgpB0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-ext4+bounces-1384-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-ext4+bounces-1384-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 69D312818F2 for ; Sun, 25 Feb 2024 16:07:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5043D175A7; Sun, 25 Feb 2024 16:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z0fzgpB0" X-Original-To: linux-ext4@vger.kernel.org Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4017F10979; Sun, 25 Feb 2024 16:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708877242; cv=none; b=ALrcdIrQcuHNS4iRYAf6ClV+7qV8feTA8qTt3SOoX63O2detpGCLy9/CRqLICLR8Fd+4AhsR8bhUhe3EjBbWBtXsXwRFlC7QVOwhFZrmzLhebUBET4+Fq6QP20gJNSvW4H9CpOkCFoOChKf6OlUEvBbxj3kNBE2WoumpyFsdf3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708877242; c=relaxed/simple; bh=ojvq2a2lJ8LluXCTGBiPZiYk+1YnG7ZSb6t6D/YYrEc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V7SK54+gltpXN3C5K7rIuSg7DPv7XlQZov5bRQ9eCL8QlaEHkcfR38rzhPv9y2xVomJs41nj19I5Y1CoWhU84P5kfMi9Igmbfz491F2qPOKS4lYO+KruAyknTVVUwHTBq0B/7aim20qauJhL1LD/5Enoz0/pEyVk3scF+/GKSzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Z0fzgpB0; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5d4d15ec7c5so1728310a12.1; Sun, 25 Feb 2024 08:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708877240; x=1709482040; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=gRB5mRoUZdjLcMpcOzyXA/yV9oCYtE3HK3r97520qXw=; b=Z0fzgpB0ilqmQnLxQA3Sr8OdNiV/TKkjxCVfjudwePXhn3Z/QqSoWVvjhp9PGX3fyc VmRnWCA86LeDsRW5Yr0M6g1T7yzvVoxk5wUuaPf5J/UHgrDouGL0DojxM86sGRawJi5J f7HxXKUrHRC4Cjp+2jppve5kGgm+DaaN5Srl78DbSTN7vaDmXk7h4srJXT8nWPAO+BKM CQ8eBmGCZGoS7mnV7onttq2uIKXvj2/OvyZWubSar1boPZultHY1DvTxzb/fvMdZuhMY KOnNV7ZwEHJRjOPpITQs2TErNSlUPtZQceRCMXJVI1i8miSjbLU+C5iTKanzSut4ECkc t+Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708877240; x=1709482040; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gRB5mRoUZdjLcMpcOzyXA/yV9oCYtE3HK3r97520qXw=; b=Xx1eu+FBaU6bDbvGXJJYsZ3ctzpRtoCmj7sTRXIxflvScwlb7uOvx80XMEMSMAb1wN Ww36jHUpZwZQvronvF02XKwAlz/cLbHrL6znCRL6cFQSKt73ALMnBHfRwQBkCNM6pavf 54UzG9ezYIOMg/++s15/rTkIeENwxHEDoSuNtIx98C2tZNqldy/O8mqJkXiq0KSZkmlE af1u4FkYdHcSPrw3mhWVehITKkR5JL8dYmM+k73TDwbeol6ifeagZlQPDZHDs7oFq+1M JXZxunKvAtRYt+NohiTk4dlhij6guxyo+hMEiIwotCfEGpQadjt4aUlRMSx8//3e6d81 J9pg== X-Forwarded-Encrypted: i=1; AJvYcCUugYzXCBc+/fujMZBlWDY9LsxtvMyL6ahVpc+cr/lVqCoeLwFBAHx91gEFyiM4oxBo9rBel9/QknJ3+vqCo9zhkPR30NLauT/PmYCguRLoOkevH41NPwkGb76eDOlq1PeBVk+F+V54nQ== X-Gm-Message-State: AOJu0YzT0hkg7rAtTqiAJrQe1Kal9LsxhrUPXUeDamWmgm3VI716YPMY Tsb64dBkX9YlXafzmuFzTtTpT3VbcnLxz1m10tsEEg6wmXf0C+ML6dMz17ng X-Received: by 2002:a05:6a21:3987:b0:1a0:ebbd:9aeb with SMTP id ad7-20020a056a21398700b001a0ebbd9aebmr6781904pzc.5.1708877240600; Sun, 25 Feb 2024 08:07:20 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id a21-20020a63e415000000b005bd980cca56sm2430625pgi.29.2024.02.25.08.07.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 08:07:20 -0800 (PST) Sender: Guenter Roeck Date: Sun, 25 Feb 2024 08:07:19 -0800 From: Guenter Roeck To: Kemeng Shi Cc: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/5] More unit test for mballoc Message-ID: <2e7f5498-1a75-49c7-9217-74eac8895a0c@roeck-us.net> References: <20240103104900.464789-1-shikemeng@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240103104900.464789-1-shikemeng@huaweicloud.com> On Wed, Jan 03, 2024 at 06:48:55PM +0800, Kemeng Shi wrote: > This series covers more function to mark on-disk bitmap. Besides, some > code which is relevant to buddy cache is also tested. > Before more work is done, I want to be sure I'm not on a wrong > direction! > > v1->v2: > -Fix unused variable warning which is reported at > https://lore.kernel.org/lkml/202311260042.kMxL6DnL-lkp@intel.com/T/ > With this patch series in linux-text, and with various debug options enabled, unit tests for ext4 fail widely and result in crashes. [ 4.798582] # Subtest: test_new_blocks_simple [ 4.803166] BUG: key 00000000000000a8 has not been registered! [ 4.803443] ------------[ cut here ]------------ ILLOPC: ffffffff9050cbf4: 0f 0b [ 4.803521] DEBUG_LOCKS_WARN_ON(1) [ 4.803720] WARNING: CPU: 0 PID: 154 at kernel/locking/lockdep.c:4895 lockdep_init_map_type+0x224/0x250 ... [ 4.833277] # Subtest: test_mb_mark_used [ 4.835875] ------------[ cut here ]------------ [ 4.836055] kernel BUG at fs/ext4/mballoc.c:2053! Guenter