Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8487895ybi; Tue, 9 Jul 2019 17:04:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz62gIdm7s2pliFU7jjnPC3WiKwh1TXQJNThpwmMItpaMfU3Oqtx7A9nfuP8mkgKNfkTuFM X-Received: by 2002:a17:90a:9a95:: with SMTP id e21mr3040615pjp.98.1562717053622; Tue, 09 Jul 2019 17:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562717053; cv=none; d=google.com; s=arc-20160816; b=mUqbTMr/Rk61tRBdvHq+vwXCIxPMfgKRNWbkZxEmn7Q+BUn86aPnbcPRl7+0UzQm8x NJvJiAt0Qv1E9X1WH7WCWNADoxA9lXlqHIDagogenQ1sktrWfIbgSkXWfZkH1fGby+OJ nmzJQD9qLpbvhjtsrcTiU6SMrO8OAD/1k9BOovBzafVvAvu9M/R+SlquCt88WG7IW4Ij /cDmAGhU5EnVLKjAo6FRTgBgIZnyQ3vIsX4C9/bCoHaDRT/Je4XTMVoyiS1QlIu4jEfT 8ldTqh8er5LF9poiOTd5HEB0ZfpkFyRH4AtnWbLIGPeZVZzNa5u+DIc5+vhm/MtvINTM cuKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=D3m2O4Tjjba7E2UTtbfnhI4deMdCct8dy5os5TLLS6A=; b=oQa+LNq6Lu6s1PYMt9qXjV+U5QNHgLWY+h1gXdsZceL0d3NtJFJl8veWEEmnQlPqi6 VP+NXBZnGxm+TfmbkTyYb5tUJHQh1x2zUJb+/ET5oQdfNLN50MjnI7salpAdMo6ACviE xarJ77JaurDwi2c5eQMIU2zKnhylTKe2fBot5RWGSnT59accGwJMwtyKfVEqlwB3h8IL U5/xJP9fMH/UVPQj+EKZaeszfTOUbzqOUS81wwhu1hLNxiYlZDkiWob6vItFlhwkuXZZ lrFgF/2B7CxpDWFdFUpQp5suz1VNpGjGWKJjzdna3Gnuu4k+IKFaHdsu6fGUncGXtUFX HrIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LafklzLd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k192si378092pge.222.2019.07.09.17.03.55; Tue, 09 Jul 2019 17:04:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LafklzLd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726613AbfGJABo (ORCPT + 99 others); Tue, 9 Jul 2019 20:01:44 -0400 Received: from ozlabs.org ([203.11.71.1]:43261 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726284AbfGJABn (ORCPT ); Tue, 9 Jul 2019 20:01:43 -0400 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45jzr24tKxz9sN4; Wed, 10 Jul 2019 10:01:38 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1562716900; bh=ZWT4dSLXGeBs9XVigkI+30TBQ9J8kSZ60+J4UqtPvYM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LafklzLdksK/zVUdYrI/ey0rB/HWstyncJSsMtWq0eDwGu/awoMl+ujmWHD7c4DaB YJ0E6aD4Ze7MsDDVdb8YGIKMnKFs9s6D+fJJxoRMVAVNmNLBnsC+vDk3hkPrJcsYtH 2jYoYNrr+0/xY8N8ORenC23+mytneUu6m5ru81PAxTO0g/4wKOxzFhEqnDHz9Y36Gg s8T1W63kTEUAQQXDAKWnFc3op6KPsi4weshNR7W6WtHYMwVYxFnZK/5bmEgBRcnoy1 lTKUmHzIhqB5LpjynDDRCwxu3llfOiNbP7biNmOyCwIiC398/Mr372LjiojWqCseaP DHlxys483Ll+A== Date: Wed, 10 Jul 2019 10:01:38 +1000 From: Stephen Rothwell To: Sage Weil Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Linux Next Mailing List , Linux Kernel Mailing List , Nikolay Borisov , Ilya Dryomov Subject: Re: linux-next: build failure after merge of the tip tree Message-ID: <20190710100138.0aa36d47@canb.auug.org.au> In-Reply-To: <20190709165459.11b353d8@canb.auug.org.au> References: <20190709165459.11b353d8@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/K8zLqV=lrMVaNpLiLljZFRd"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/K8zLqV=lrMVaNpLiLljZFRd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Tue, 9 Jul 2019 16:54:59 +1000 Stephen Rothwell w= rote: > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > failed like this: >=20 > drivers/block/rbd.c: In function 'wake_lock_waiters': > drivers/block/rbd.c:3933:2: error: implicit declaration of function 'lock= dep_assert_held_exclusive'; did you mean 'lockdep_assert_held_write'? [-Wer= ror=3Dimplicit-function-declaration] > lockdep_assert_held_exclusive(&rbd_dev->lock_rwsem); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > lockdep_assert_held_write >=20 > Caused by commit >=20 > 9ffbe8ac05db ("locking/lockdep: Rename lockdep_assert_held_exclusive() = -> lockdep_assert_held_write()") >=20 > interacting with commits >=20 > 637cd060537d ("rbd: new exclusive lock wait/wake code") > a2b1da09793d ("rbd: lock should be quiesced on reacquire") >=20 > from the ceph tree. >=20 > I have added the following merge fix patch for today. >=20 > From: Stephen Rothwell > Date: Tue, 9 Jul 2019 16:46:12 +1000 > Subject: [PATCH] rbd: fix up for lockdep_assert_held_exclusive rename >=20 > Signed-off-by: Stephen Rothwell > --- > drivers/block/rbd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c > index 723c3ef4bd59..02216fbdb854 100644 > --- a/drivers/block/rbd.c > +++ b/drivers/block/rbd.c > @@ -3930,7 +3930,7 @@ static void wake_lock_waiters(struct rbd_device *rb= d_dev, int result) > struct rbd_img_request *img_req; > =20 > dout("%s rbd_dev %p result %d\n", __func__, rbd_dev, result); > - lockdep_assert_held_exclusive(&rbd_dev->lock_rwsem); > + lockdep_assert_held_write(&rbd_dev->lock_rwsem); > =20 > cancel_delayed_work(&rbd_dev->lock_dwork); > if (!completion_done(&rbd_dev->acquire_wait)) { > @@ -4209,7 +4209,7 @@ static bool rbd_quiesce_lock(struct rbd_device *rbd= _dev) > bool need_wait; > =20 > dout("%s rbd_dev %p\n", __func__, rbd_dev); > - lockdep_assert_held_exclusive(&rbd_dev->lock_rwsem); > + lockdep_assert_held_write(&rbd_dev->lock_rwsem); > =20 > if (rbd_dev->lock_state !=3D RBD_LOCK_STATE_LOCKED) > return false; This fix now needs to be applied to the merge of the ceph tree. --=20 Cheers, Stephen Rothwell --Sig_/K8zLqV=lrMVaNpLiLljZFRd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0lKuIACgkQAVBC80lX 0Gzkhwf9HBh6ZtEpp4PTwOrsoynTc3CYF5zxyUoT7jOwCjrWBNvxSwhzrM/fdbKs 0YSAtiOQEWC7BJo1DpYgs0XQIig/LkJAoVFuOETE7AB14qTLaxjlvLnJ1dkhaM2l 9sZmbsbuJgGlJV/MbxVgVlbh0hb4S/lg+DQqXndjgxgt5C0rA+K4FjCBx0mwMv99 lmJIn+o1car8FcF+BXQKs2X+dzFByjhQCnrWzso+HvJnL09vLga6DYsrcsZUTeEm wQ2L6JzM0GvPjnuZHaf/nlLOE1FVv4tPnsvf5CmDBlDiZT10XiUEXUP85rMKvn6E B3VSAWgTYDkkkarDl7NhNf/NtDWy4A== =o5q5 -----END PGP SIGNATURE----- --Sig_/K8zLqV=lrMVaNpLiLljZFRd--