Received: by 10.192.165.156 with SMTP id m28csp831887imm; Wed, 11 Apr 2018 07:57:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xiH9zuGHUCI28qzdHTJ2ZSnO7Fz1E8riD88OMfq0I4Rd/S7NgZ04LWoZ5i7Uc1yyvk+3g X-Received: by 2002:a17:902:7c82:: with SMTP id y2-v6mr5542063pll.103.1523458668095; Wed, 11 Apr 2018 07:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523458668; cv=none; d=google.com; s=arc-20160816; b=oUTdjULUHVA/5F1DTnYtvVj8KkA01U32OjEq0yGfm3H6P94cpTXQJ4cEW7Irb++KYJ /p5g0CztowJ7M+Zjzgba/pgDfadVASw6T/JaiqOu6SmEw3RVcBJ2Ac32RqPnUgYrTe8F CM5NS1mbu4TjqzWJTmCu8Dqx8xAYgsuTE41YcHt4/uFOMnF25wa3ZBBDcw/J4ITFUkSP jBxt2MDFmSLc43veyQjN0aa3gOxlWC1rt14YxPaCQ0/Tqm2m1J8/fvkHOwLIHUA+Y7VE uGCW9rDcZgPuI+kNrjM5l9mdGwwiplVIeJwqLtt2Ac9wZDfM+bH15L5KukNOK1GkO27P h2yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=i9+5GakFxYpJRr7zvzP+WQ4+XZrb0jL0jhJxBrxyCWg=; b=e1hSxDLtMgPhNTqXMsfhVJsHogiTUlKNNF00E82DgOETRojX6t+xAW0d0zJy+3vKTx J06a0bZCaqnv/FswwKsuL8RCwVk2OXB700HZ5gpRaHD3Wpp0UheUmfpQG/GrDkX8qFRf tsgccKpXtAzmTavRXGU+3bKUU0Lek86P/FUPSFKyIpkKtqjFgDbwR3qOVq+FndrvCVwN WvC6l86a2C/GXwTvCmebX2+LjTA8L8dP6nSQJLMOrqjZOgL7OOzhYFBnyoJZ4GfcIKbG TSVcucVTmZWDwyLFJONz1ruqQBeHZnkkFMBBbx/1YEmRlk5tALlmaMaD4esnUm2kjt1F at+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=do8jN0eM; 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 f34-v6si1244174plf.362.2018.04.11.07.57.11; Wed, 11 Apr 2018 07:57:48 -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=fail header.i=@gmail.com header.s=20161025 header.b=do8jN0eM; 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 S1753090AbeDKOv2 (ORCPT + 99 others); Wed, 11 Apr 2018 10:51:28 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:36209 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752229AbeDKOv0 (ORCPT ); Wed, 11 Apr 2018 10:51:26 -0400 Received: by mail-yw0-f194.google.com with SMTP id y64so637867ywa.3; Wed, 11 Apr 2018 07:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=i9+5GakFxYpJRr7zvzP+WQ4+XZrb0jL0jhJxBrxyCWg=; b=do8jN0eMDCDwlPMLDWBPiK4ubF4334PzJcs4H1+0mWBvhaDV6QfUTqeQVrbU5TYmXj u+sNyeKZl9xxGobUecOIf+RE7yf8LOc2e4FN5EsUAYvCqiW+GquYSZFpJx/20GXk4MoA HckwIHA/LPwBBHJtt2dZBQIlr59X7TlFyQsqQWZcVC4Qk+VGMayEFh8xzdYDQS19U/af xGdMj4pSed8VVOcNCwlHmTWz+IqyVT5zQjdlGaGY810FTtGHuAtBy3fbJysaGFUyz7vv ZI5j3yzqKrXohw8kXs+hDJKCKe/hGgNBQS9ZidD01u0zY4zmIGbYA/gk+U7nYjf2vhJN wwug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=i9+5GakFxYpJRr7zvzP+WQ4+XZrb0jL0jhJxBrxyCWg=; b=BHzN6Oea9AyoYwA8Cu+2Z+43uhF67KVS2HPQx0iKSYEHWLKMMPQEQW4zb5z5rFlQ6n uhcxGOXPx5iOwP6OKOa3mtiImOQycR7/Os67RVGnuqTZhcGr8rXDqiNjUk2fWKCIUuj6 6q6HAxv6xzkwqfiMmH2CTzhI7Z4n1zJFilDhY5DV7z/ds0Xv0AU/C4NA8RpbIWotAWHQ gxyxxIWsw7zJrVBBsHYrTyCw6z3bFu6fQ4hK+KFP2VtMBzanesCW3hoR0UDRlU6fqqQQ gr7OTrd4vOjaAJHtwoXmr43qOsiBBTCbei1mz7ZGxQ3Jz+StpBOHbGyclzH8w0eFWfkO nsdg== X-Gm-Message-State: ALQs6tDLfKUtINqciWaZCjSu7iY4H78HAP834vbT/GhhYxVrf/spRjGm iK5phMCCv5lPsj/gxG5UqXg= X-Received: by 10.13.210.134 with SMTP id u128mr2205963ywd.410.1523458285359; Wed, 11 Apr 2018 07:51:25 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::1:e6ed]) by smtp.gmail.com with ESMTPSA id j5sm468890ywd.68.2018.04.11.07.51.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 07:51:24 -0700 (PDT) Date: Wed, 11 Apr 2018 07:51:23 -0700 From: Tejun Heo To: Alexandru Moise <00moses.alexander00@gmail.com>, Joseph Qi , Bart Van Assche Cc: axboe@kernel.dk, shli@fb.com, nborisov@suse.com, arnd@arndb.de, gregkh@linuxfoundation.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] blk-cgroup: remove entries in blkg_tree before queue release Message-ID: <20180411145123.GJ793541@devbig577.frc2.facebook.com> References: <20180407102148.GA9729@gmail.com> <20180409220938.GI3126663@devbig577.frc2.facebook.com> <20180411101242.GA2322@gmail.com> <20180411142019.GG793541@devbig577.frc2.facebook.com> <20180411142859.GB2322@gmail.com> <20180411144616.GI793541@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180411144616.GI793541@devbig577.frc2.facebook.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, (cc'ing Bart) On Wed, Apr 11, 2018 at 07:46:16AM -0700, Tejun Heo wrote: > Hello, > > On Wed, Apr 11, 2018 at 04:28:59PM +0200, Alexandru Moise wrote: > > > Ah, that changed recently. Can you please check out the current > > > upstream git master? > > > > > Just did, without my patch I see this crash: > > lol I was looking at the old tree, so this is the fix for the new > breakage introduced by the recent change. Sorry about the confusion. > Joseph, can you please take a look? Oh, it wasn't Joseph's change. It was Bart's fix for a problem reported by Joseph. Bart, a063057d7c73 ("block: Fix a race between request queue removal and the block cgroup controller") created a regression where a request_queue can be destroyed with blkgs still attached. The original report is.. http://lkml.kernel.org/r/20180407102148.GA9729@gmail.com Thanks. -- tejun