Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp430452imm; Mon, 21 May 2018 08:17:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpj8RtQev61n642EQNCt/wilEBvhtKJmrNI6uVcEbBCARbJ3G2uXiZalCfqmVdJVe3WuKIT X-Received: by 2002:a17:902:5709:: with SMTP id k9-v6mr20355386pli.165.1526915834849; Mon, 21 May 2018 08:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526915834; cv=none; d=google.com; s=arc-20160816; b=vYJIJW5XiamUqLMjpPpx7gd1SbpZlO3dbn7ao9kj7ISF4okRlc7wCWhkmGTNCSdGFa Y4gwhE8DpkxzRM7+ahUEx5H1KhWbwPH05qCgAbj/Zk5E5toUVAsORR/nu5UacNz8y1vw GWb+BZfK2g66oHs8HSKOFShuXjZrOzXbBDlPzNQbPMGW0iW1EvuJWfoSnpEyqri+N+FE w7YrrudNDnnesC9kyvJVh9UiScp7mbWuvKFnHn/x+YEbNd3TyYM1/fGxEwEKE/GRt1T9 nY/Dk1Udh+rc7IzycENxy64t037b43i+0C0X6dG172JkaUEnYMszSs1pBx410A3hABsl LR9g== 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:mail-followup-to :reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=NcmyxOAlVISDs+6xUv/y/+GH9HpZNXxowKBVCfU2QPU=; b=v7hEnz6JhvL4OmVjIx8xogfmYGdcZ3m5XCcAVopryC8mQH3qebxTGwFRu16ojo0XIa dqVeDiw66Xs4C/uirxhX0osmlH9Ax/Ua6b2dnV+WqUa+wedhQe1FmY94r49/yhWDDwfL ULRzLy+oJ6UBVREbyQ0tXp7J/KdXAhj7VYcMrmt3+OOn2Eeq1FI7W3JnlPylMjxU7tU/ oA/JPjosJ8uV1+NVZa+Uk0xMF/rV4T6TWfz8pDXQp+2V+6lnqpWFxIU6R1Kxf/fgP45e f3z/0HqJGs/3fkqLJVp/M8ZbFiErs8fab8+RiLoSCxn+Ckkuv2tUFsydoMVdJhDZa1dc PfXw== ARC-Authentication-Results: i=1; mx.google.com; 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 v4-v6si11405248pgn.260.2018.05.21.08.16.59; Mon, 21 May 2018 08:17:14 -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; 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 S1752977AbeEUPPj (ORCPT + 99 others); Mon, 21 May 2018 11:15:39 -0400 Received: from mx2.suse.de ([195.135.220.15]:38853 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752247AbeEUPPg (ORCPT ); Mon, 21 May 2018 11:15:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 21DBCAEDF; Mon, 21 May 2018 15:15:34 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 0073ADA908; Mon, 21 May 2018 17:12:51 +0200 (CEST) Date: Mon, 21 May 2018 17:12:51 +0200 From: David Sterba To: Jens Axboe Cc: Mike Snitzer , Kent Overstreet , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, hch@infradead.org, colyli@suse.de, darrick.wong@oracle.com, clm@fb.com, bacik@fb.com, linux-xfs@vger.kernel.org, drbd-dev@lists.linbit.com, linux-btrfs@vger.kernel.org, linux-raid@vger.kernel.org, neilb@suse.com Subject: Re: [PATCH 00/13] convert block layer to bioset_init()/mempool_init() Message-ID: <20180521151251.GX6649@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Jens Axboe , Mike Snitzer , Kent Overstreet , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, hch@infradead.org, colyli@suse.de, darrick.wong@oracle.com, clm@fb.com, bacik@fb.com, linux-xfs@vger.kernel.org, drbd-dev@lists.linbit.com, linux-btrfs@vger.kernel.org, linux-raid@vger.kernel.org, neilb@suse.com References: <20180520222558.7053-1-kent.overstreet@gmail.com> <20180521140348.GA19069@redhat.com> <686d7df6-c7d1-48a6-b7ff-48dc8aff6a62@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <686d7df6-c7d1-48a6-b7ff-48dc8aff6a62@kernel.dk> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 21, 2018 at 08:19:58AM -0600, Jens Axboe wrote: > On 5/21/18 8:03 AM, Mike Snitzer wrote: > > On Sun, May 20 2018 at 6:25pm -0400, > > Kent Overstreet wrote: > > > >> Jens - this series does the rest of the conversions that Christoph wanted, and > >> drops bioset_create(). > >> > >> Only lightly tested, but the changes are pretty mechanical. Based on your > >> for-next tree. > > > > By switching 'mempool_t *' to 'mempool_t' and 'bio_set *' to 'bio_set' > > you've altered the alignment of members in data structures. So I'll > > need to audit all the data structures you've modified in DM. > > > > Could we get the backstory on _why_ you're making this change? > > Would go a long way to helping me appreciate why this is a good use of > > anyone's time. > > Yeah, it's in the first series, it gets rid of a pointer indirection. This should to be also mentioned the changelog of each patch. There are 12 subsystems changed, this could be about 10 maintainers and I guess everybody has the same question why the change is made. The conversion is not exactly the same in all patches, the simple pointer -> static variable can be possibly covered by the same generic text but as Mike points out the alignment changes should be at least mentioned for consideration otherwise.