Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp323319lqo; Fri, 10 May 2024 00:22:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXnB+1SGBvxGaPONXA0NE4WXQ/a3uBHMDiHHbqGvF6lvAJyNGteD4FK4e348ub9Cg6kLO330Uif10UymLROCR71MyzJ0T+CUH7WcZMWhQ== X-Google-Smtp-Source: AGHT+IEo15aVKXQk/JR4ZYpWK7k1dS2ws9Ms9bQ5veRcBPhlAu719GJsuMSWRWmwb7t/z0UQbC2I X-Received: by 2002:a17:903:18e:b0:1eb:e89:62e0 with SMTP id d9443c01a7336-1ef43d08ce2mr23345765ad.14.1715325753105; Fri, 10 May 2024 00:22:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715325753; cv=pass; d=google.com; s=arc-20160816; b=NKGN3Sc3FI7KeNOyQ+jzPSOtbP9A7/YbWVPiR56cMw/X3CG890gDttjE7s5RAvcPDl rj0e5JHIPfFby/x9pVnIZcRgF9OcKvGDSdh76M04fID8qWxIpcNi+pYNJKm+Qr/Afu1L 9BGeF5Mg/xeVMYFBxWABvVb7Vvrx0BIUjtMG3iZrz0Ea+D+BWHwQ+yBKmZyN+qSGFLnw ve+GH3lfDStbHLMZv9TgptI12Dc0wV7gWwLZOW7kMPJz8r/X1RX41WFF0N9vySwn/mVp lbc6aOt26x9juUWMhrq5OUm5Y0NqLgn3Dcf5F/w/aTZEY64h9d+AaF8E3PXCER6ikFAY Y/ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=SwVVU1OVtuq3E0KajLKbqB+s4L90JtoRDl4LTRJ8jAk=; fh=L22UJ9H4KdSjTEXY1yyavmvRPB27gvdYuCb947ljfWc=; b=o5qKNZVHA85MgQv/Bcd/p1c3CSJ3vNhLevg9sesZTKG7Mc8ECGDwnmtveaIwveHI61 zmARzyXaSIYgrwfG2eEV4KDaCQG3fGA05YkTz5UV233kIunxY2IrDLGrICucIuLp7nT6 3zLz7W+jzk/ao2iMLB+G4hyqWYUmgo6c2US0Bcx6uiUcGn/2i880DYlIrRYu+PZVszq3 zWYxqQtGKOvmd0jD+wf62IQwQoIUeN92mlpTeQPXqC0SQhjqE1ZJrpEWjD/EvywWF/iK dCSBi4LlDt9aHGEPsdM73LHk9cq/JFLuRAWV9IxtUz2sQw9ob70G4k+km/1GVanATiD4 A3Sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iQPMddhw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 d9443c01a7336-1ef0bf31d7bsi32018115ad.257.2024.05.10.00.22.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 00:22:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175397-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=@kernel.org header.s=k20201202 header.b=iQPMddhw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 349C52824A0 for ; Fri, 10 May 2024 07:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D12E15ECE2; Fri, 10 May 2024 07:22:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iQPMddhw" 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 5640915279B; Fri, 10 May 2024 07:22:26 +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=1715325746; cv=none; b=mdIb1Yuq97lPhNNwI6x4Ow8LgfgvRnLhQ5bWNJOqc9vmtFsDUL0CQBKvo/N7+LAm/+QGhule8qNtO5d5xpmCPz6KcV/4+owqh9uZ1Z9c4PBBCR+uHozR1J6U3O2isBSrgPlygBoabvup9SsP2JW0p/ampzWEXHBLuznaLly1+eU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715325746; c=relaxed/simple; bh=EzdfZ0kpf3fhUbIFDljCEYBvplIrKON70GWCiQd1UDM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VaRo/XLDdR4il2fdNXqZsc4jwpfLFF6cLyxsLEW6tJYyzXbqsD6bh987+rfZUBiEza59Gl1YyXWtjx/LSWouzRH1U8V3MasfGXpm+TOk7spqhfF+vMpW0Ysqan3sSe7t3YfBwj15ybwgKGu/fcKnveHYXMnpF3LA43ztW5QdOe4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iQPMddhw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4962DC113CC; Fri, 10 May 2024 07:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715325746; bh=EzdfZ0kpf3fhUbIFDljCEYBvplIrKON70GWCiQd1UDM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iQPMddhweUBjd9ncDSrkcRN3oMPdHf4DboeeRHGz8m9kRzalpIecEE5K2u4Kr6CBR x9HZsB/Cvuz1fw69VhodG65NIhgtGF/miuq7c5g4WoCaZVUD18fMjRI9TAofvOyOo3 iJSf23KyS6oZdoU/77MnMhxNbOcJJeTTQ8Tt8pCndYkk0W7yg2vnl58omSssN4zZ8X wgoE8y3xFTEiFIOmFrSe2TO13uUPNH8fBKDWa/CkDu+cOHS/N9igs8yKIStmugXkw5 I9wHUEcxnHf8oe5XHnLN1I2lIrRYFEtrkt3fypgnjgG/F2l/c9OFa0MpvgaVxOxdxF VO9LiiMR4fWtw== Message-ID: <3f293b59-0992-4d39-8473-283a8dcbbf43@kernel.org> Date: Fri, 10 May 2024 16:22:24 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: build failure after merge of the block tree To: Stephen Rothwell , Jens Axboe , Al Viro Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20240510131003.70f46881@canb.auug.org.au> From: Damien Le Moal Content-Language: en-US Organization: Western Digital Research In-Reply-To: <20240510131003.70f46881@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/10/24 12:10, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > 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 named '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 named 'bd_has_submit_bio' > 1329 | if (bdev->bd_has_submit_bio) > | ^~ > > Caused by commit > > dd291d77cc90 ("block: Introduce zone write plugging") > > interacting with commit > > ac2b6f9dee8f ("bdev: move ->bd_has_subit_bio to ->__bd_flags") > > from the vfs tree. > > I have applied the following merge resolution patch. Looks good to me. Thanks Stephen ! > > 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_flags" > > interacting with "block: Introduce zone write plugging". > > Signed-off-by: Stephen Rothwell > --- > block/blk-zoned.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > 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); > > /* Drop the reference we took when entering this function. */ > @@ -1326,7 +1326,7 @@ static void blk_zone_wplug_bio_work(struct work_struct *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); > > put_zwplug: -- Damien Le Moal Western Digital Research