Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2365914lqo; Mon, 13 May 2024 16:54:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVd+tULu6W22tgHwCWLdK/ICM+cfvRDA9sDVm0YNnThlhzJ1P1A/lWMUTJHVHJZm08MAYY7wwhhzqi+cYLD8E8xlr4UuCAXizRd/y35mA== X-Google-Smtp-Source: AGHT+IEIJmV7iWVcu5D1YbHE1Rm1Z5GsoaBhZJdFnY4b45/Mm9RG4fGBcOpfYTCxj6oS6dc6BavJ X-Received: by 2002:a05:6a21:3a83:b0:1af:7bbc:9f86 with SMTP id adf61e73a8af0-1afddf05732mr12774288637.0.1715644442518; Mon, 13 May 2024 16:54:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715644442; cv=pass; d=google.com; s=arc-20160816; b=mrmkY7B/+kYlFSZ0NgZcK0kVDYqwvWLYB/dWAeQvYZmgGFX9o6P1FY+kp+OVFTAMWc P2pKAkQj2tpPIE2kAnl5gsb/hEhigjdxCus9UktxEVfCvBFI2fVeoXzk9boj/yrnk4xc Ff50Qta2qGPbi3rpl3I355Uy8LCMFHGeF9IWyqhLKeBWAfosGr1PpJFuz9v9SpGF5ZXz DCZ1+/KkLLGOzjGtCZtrL++hEf7bHY9JFtg4WZhrU1CkTgLjXYxQ3ARlGDQ5cKvtAxDs GLuQkwzPoFaOlWcPJ34+cCtC8iWGiMYG+gjYPk6fp2zZtgk67uucDGtEPWSfQfh0W2Ny cT9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=nrX0QnSujQBcrtoDk0rMMTUg0PNEV0q40s3RZ7bbSG4=; fh=HtAg/y50qs+YgtfK5iRTG9CgIVcABazu4VmWBWnwS0c=; b=aK+lZgBUUle7sggZ4k1+MTZ7QciLefiihoo92gFCGu6dhBQT6zXOKBqwEcZ3zsPi93 Zfa6KMK2u3b0RyRFCzwJEEOMcZyzg6RJhNQem7I2OCasHqnpNzLwHq4T/HcNWwfPFy5N JhLHVAgUPUOypa+1h10aXO4w7tDe5u0x+QRUFjyhj/fTW3qeN4CpmyuEMCVaoqFzf784 wy1vGa1Y0qL0mmLECuaybW1wnbFen5xdHtotkqhrxbGPnRg67+lU5o4ngaGSLVJFOKQT 6+Ha8XsTk45S1NxWMeBPMVwCK6V1vYPOYi0rBs8CGdoCSA5eIKvLDWe47ApjuLw2R7WX 1x3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="luRtVw/9"; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-178196-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf21fsi103340055ad.81.2024.05.13.16.54.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 16:54:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178196-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=@canb.auug.org.au header.s=201702 header.b="luRtVw/9"; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-178196-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 C2D9D286EFC for ; Mon, 13 May 2024 23:53:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB6AE86130; Mon, 13 May 2024 23:53:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="luRtVw/9" Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 3C5BD85C42; Mon, 13 May 2024 23:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715644421; cv=none; b=IrJsyPu/cQURE+wbywi3PLOThEZOgUpBrVH7fLyUZgZ+yKhlJzbvF2it2USWMDHEkb10DRA+ed/uI4zEpWPqirqdwtndeltHG8IiMOXfkqmZDYKbqOVWygXBmLULkIUHvqffw+C/4hbSw4QgVlbWkzezPwrpg9yGS7JNwMas/zE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715644421; c=relaxed/simple; bh=R/KylpXSXNvGKAiTGKjpx8UwgnUX+GBGMiz5pPzku6s=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fOphjwz3PevUhH3djBFlNNnjfOnoF/DW8VCOdm3AcX4NaaP/D/PS20NmzWmozagWhklLjofng8wrviBFBiHNNyKRznb2ZUY50wW8LaNrlAuA5HIe5XjXTphq6YCpxr7uukA8rY5XAzZmTWKDY7Lu7WKr9XAzmDIVn4CxorTvBos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=luRtVw/9; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1715644417; bh=nrX0QnSujQBcrtoDk0rMMTUg0PNEV0q40s3RZ7bbSG4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=luRtVw/9c5vJtIXfTK3jZAetTYnmiLMQfjZDWIWVXnCvgH77gnB56xkHocfQJNL+r chWcXETXg8CdgBdS38EWVf5W/PHUF06x59Y6qUXwIrOQFLiTbXZNXG83s3XpDTqsxA w2NP68VvF/+XNmqxPZ5T1qtAOJJAmVt/sollEYAvatSGsCKbekdbCXGD5wk/yzoDOC +rhDOmL31lgkUYpRnwAc+5hRdpCJcbLvuKDwIPWvs4RaSNK6bUgVFTC1QbmcbJAusH Ef+geWdhxThLJD7bifBI7PuYRPUiycXdMVXLO5SDk4cYGBjMsjxSCcEgNVnxZ9kZFG toRpkjZGyV7Mw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Vdbsr6PlMz4wbr; Tue, 14 May 2024 09:53:36 +1000 (AEST) Date: Tue, 14 May 2024 09:53:36 +1000 From: Stephen Rothwell To: Al Viro Cc: Jens Axboe , Damien Le Moal , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the block tree Message-ID: <20240514095336.5b805453@canb.auug.org.au> In-Reply-To: <20240510131003.70f46881@canb.auug.org.au> References: <20240510131003.70f46881@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/fo57KRCbyFjjZQkD81OmLOp"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/fo57KRCbyFjjZQkD81OmLOp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Fri, 10 May 2024 13:10:03 +1000 Stephen Rothwell = wrote: > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) failed like this: >=20 > block/blk-zoned.c: In function 'blk_zone_write_plug_bio_endio': > block/blk-zoned.c:1260:25: error: 'struct block_device' has no member nam= ed 'bd_has_submit_bio' > 1260 | if (bio->bi_bdev->bd_has_submit_bio) > | ^~ > block/blk-zoned.c: In function 'blk_zone_wplug_bio_work': > block/blk-zoned.c:1329:17: error: 'struct block_device' has no member nam= ed 'bd_has_submit_bio' > 1329 | if (bdev->bd_has_submit_bio) > | ^~ >=20 > Caused by commit >=20 > dd291d77cc90 ("block: Introduce zone write plugging") >=20 > interacting with commit >=20 > ac2b6f9dee8f ("bdev: move ->bd_has_subit_bio to ->__bd_flags") >=20 > from the vfs tree. >=20 > I have applied the following merge resolution patch. >=20 > From: Stephen Rothwell > Date: Fri, 10 May 2024 12:59:09 +1000 > Subject: [PATCH] fix up for "bdev: move ->bd_has_subit_bio to ->__bd_flag= s" >=20 > interacting with "block: Introduce zone write plugging". >=20 > Signed-off-by: Stephen Rothwell > --- > block/blk-zoned.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/block/blk-zoned.c b/block/blk-zoned.c > index 57d367ada1f2..03aa4eead39e 100644 > --- a/block/blk-zoned.c > +++ b/block/blk-zoned.c > @@ -1257,7 +1257,7 @@ void blk_zone_write_plug_bio_endio(struct bio *bio) > * is not called. So we need to schedule execution of the next > * plugged BIO here. > */ > - if (bio->bi_bdev->bd_has_submit_bio) > + if (bdev_test_flag(bio->bi_bdev, BD_HAS_SUBMIT_BIO)) > disk_zone_wplug_unplug_bio(disk, zwplug); > =20 > /* Drop the reference we took when entering this function. */ > @@ -1326,7 +1326,7 @@ static void blk_zone_wplug_bio_work(struct work_str= uct *work) > * path for BIO-based devices will not do that. So drop this extra > * reference here. > */ > - if (bdev->bd_has_submit_bio) > + if (bdev_test_flag(bdev, BD_HAS_SUBMIT_BIO)) > blk_queue_exit(bdev->bd_disk->queue); > =20 > put_zwplug: > --=20 > 2.43.0 This is now a semantic conflict between the vfs tree and Linus' tree. --=20 Cheers, Stephen Rothwell --Sig_/fo57KRCbyFjjZQkD81OmLOp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmZCqAAACgkQAVBC80lX 0Gxclwf/V6HIcsyWW98hZSKTFWyKVQIoS2XYHiiXXKaE6iKD6jiKvJnk/Km/CCIN uTJPZOvarDDIylH5r+Eg2Y6u6wNIq85qhlOWbBWwoVmvK9SX5GN4jo77mJEoT6SB tca64lvZA/XCKBjloC7p8GK+4e7YVGVNA7tS85oQVUELJq74/5kQGouYSopGheJY Z/cP8hEu+9ehVBlHp6ndEpAPcU2WFVcPsWhaXm+fAzI/Qt3vJgAgGx4btWXVdKN0 /Dy5jYyeCnQE9Slt3TgIhkXkw2ZvRMtt+maHKXn0bPYf25WHam4aCY1WN0sPk0S1 tR4v4sAXHpDJng7IaZcRbqqLkXAr2A== =p9oD -----END PGP SIGNATURE----- --Sig_/fo57KRCbyFjjZQkD81OmLOp--