Received: by 10.192.165.156 with SMTP id m28csp795397imm; Wed, 11 Apr 2018 07:24:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/uiIKDJ8dTMH5DnKd2SyulODt6oZvWExmahHBLxY43RGnRFARtoal8whbF23ivn6hLvYq6 X-Received: by 2002:a17:902:8e8c:: with SMTP id bg12-v6mr5454130plb.295.1523456655546; Wed, 11 Apr 2018 07:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523456655; cv=none; d=google.com; s=arc-20160816; b=cqzL8m1mUJMc6W3lCSiphZjWVZ2PqHEcBQMLnMxAC7K9f3JRDLg02IwaP831efHHzc URicjonWnxWRWxX/SD5ltsYlJa/nbkLNETn9wSYsC5U3rA+U+v61oMEVyRyMw/X4UHzR Nj5YV9E4y/4+eFlk5Fh4DI89kZ8JqYklPam0ffnsKl9qF9DYAxvyBYcWvrIhe7Im4hEb c8Sjo/DG1XPyorj5+NgBylE/sQYCCk95XKlFQVGE2huVv6B6YoiDGNaj0aoABi0CErmk R2TJSh8g87d++RzT9DwsgO6pJMry/IdD9guc6s7Zw92rKZt1q4lSmzkw8cMk9uSimTuq /LxA== 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=uh6tiAPBbLM4Q7zu8KyCyNy4SPP7dKoKjGYLGQHdgk0=; b=fn9GFD/O0RXbzkZ4wgMeoKHRB/ox2GxPkQ51FRst58AO0+3SJku0l+GbT9gQH78I/4 QZ/C+I1oz4mc843BA/04I7gKxRltVEnVGeeG5tq8Xd+82r4tyNvQBfQDn+CIuRaS+Pbv S6Tzno57HKiVVBTf5NzRuAL7x5YChuY0aI/1miDMMj4XzsQ1Vw66JtIN+LivS3Iy/IqE 5xdFYZW4WM8Lm+CuA6mCLxpAckLvbogz1JTMinn183O8m7GKDtCtRsKhw63dNIhmKuDU 73KVZPbIRZm95VuO6LzIA1Mt+GuYgYQ3oysmnx7Oyp2sO4S33fVftDlp+dSynaD33bDd InTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=HetAPmMP; 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 d6si826786pgn.48.2018.04.11.07.23.38; Wed, 11 Apr 2018 07:24:15 -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=HetAPmMP; 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 S1753530AbeDKOUZ (ORCPT + 99 others); Wed, 11 Apr 2018 10:20:25 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:37277 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752491AbeDKOUW (ORCPT ); Wed, 11 Apr 2018 10:20:22 -0400 Received: by mail-yw0-f194.google.com with SMTP id y23so599311ywy.4; Wed, 11 Apr 2018 07:20:21 -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=uh6tiAPBbLM4Q7zu8KyCyNy4SPP7dKoKjGYLGQHdgk0=; b=HetAPmMPR9svMFOGKPIGB5HYPHAad/iVNaeHRYiFaiwkeQU/6UbKY6MKy3KmTynWxN BW2WumfYVlJWIwU7M6WodRXzt/M9oVeEX3Vipe9yc5BpzRYSrR4ZY6czSQ70Zv6s8VPR kaUTNLb9yLrZnx3xnwDGIIElgDKVf6AF4Y5Rfjcd11UHjl4PZyEuYrAMXRKbHawlE7im t9pbxgh0z1ghFsw/794BifdIZC+HjgfW8hnSN6GZ0opj5VP0UXhTgQ1tLqcV4Qfuz7qF ngpxghEkFwCwVdN6AvWmLeRlvBeaKHUb+mJ4yvMU3Gg+VcZ5QdI0FeH6cDqYP3kGYBdq YmbA== 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=uh6tiAPBbLM4Q7zu8KyCyNy4SPP7dKoKjGYLGQHdgk0=; b=dSh5wr0M6EIV0Vf7sbHsSeDGKxt4pbWdDtEp+UlXt8H4xNozDx7ndkN6eYaurDPRC9 cuq+gBrJsOFe1C8LhhOWekqgCoBKx2loZ2X5WNuuDotZjuNSo5xImIvULjirRqPzpkva DoUTOmfh6UfBndfkvKf6855j3FLWxTQ7IbkVhFpdFQ1paZv1JPbun/VXdIo9KmcG8JvO 31/OSDAPxUN84ffKuUZVU7SOX9WPEyYlIYV2rfEY/fDy5V4NxdyVL9GM+GLVmdES5l1E ik1J2jjCq6ke73xuEBxgRMhkrsNtRXBEFZtiMRUYjKpeOB5Anlbj0OETxn/iwHJrSLFi 2L0A== X-Gm-Message-State: ALQs6tCNvqQDeR3SlhPwwwv9v2XOc6rUyWozOu5n9PW+JwY84nxdXOks S8gRpFCRleMpZ85uIyd/PVg= X-Received: by 10.129.163.65 with SMTP id a62mr2242927ywh.498.1523456421278; Wed, 11 Apr 2018 07:20:21 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::1:e6ed]) by smtp.gmail.com with ESMTPSA id p124sm446564ywf.20.2018.04.11.07.20.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 07:20:20 -0700 (PDT) Date: Wed, 11 Apr 2018 07:20:19 -0700 From: Tejun Heo To: Alexandru Moise <00moses.alexander00@gmail.com> 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, Joseph Qi Subject: Re: [PATCH v2] blk-cgroup: remove entries in blkg_tree before queue release Message-ID: <20180411142019.GG793541@devbig577.frc2.facebook.com> References: <20180407102148.GA9729@gmail.com> <20180409220938.GI3126663@devbig577.frc2.facebook.com> <20180411101242.GA2322@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180411101242.GA2322@gmail.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, On Wed, Apr 11, 2018 at 12:12:56PM +0200, Alexandru Moise wrote: > > But we already do this through calling blkcg_exit_queue() from > > __blk_release_queue(). What's missing? > > Hi, > > It might be the jetlag but I can't see how you end up calling > blkcg_exit_queue() from __blk_release_queue(). > > As I see it the only way to reach blkcg_exit_queue() is from > blk_cleanup_queue(), which I don't see anywhere in __blk_release_queue(). > > I suspect that I'm just fixing a corner case though and > the general case is what you describe or similar. Ah, that changed recently. Can you please check out the current upstream git master? Thanks. -- tejun