Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4488406imm; Wed, 30 May 2018 06:38:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLJckyLLeUtyt7QmFja49jrgNkrub5rbr0NKzpjaJy9Ncp5NU0pByjMttBej6HXzUJZpwsM X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr2912432plf.47.1527687495062; Wed, 30 May 2018 06:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527687495; cv=none; d=google.com; s=arc-20160816; b=D6MfozhaJoJbJb1zxx8ZaNNJZhFPJ5b2PQSSDYIeLQDGO/ufKY1KLKYVJnFC+vl2UM gbPg4YXjNiNXRBmIvkk+KvjBjfZq7K8WLzIxeHfNCrFVG3A6JiGNWnIqEZ2bxMRjUkYV kAcJ8Ru7fGT1iPy8ODa/DVJxhgVot37yRkvqkps3YnY53XNpgnVviF3P/PU25vx/69H4 nB5zNqqBY0S+RWd5fnCqFLzTqhdvjp9THbHsBLyFhq2t1ulms+a/mUd5hD/bYMsDg0xY 73CQC8Qo3kCa15tIzpaDcRi39WDGPXp9Rf1yBrMsN4LUXRspJbqPCdIHFoWD5DJCG0UO 6W7Q== 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:arc-authentication-results; bh=j7pIp4Jh4eezaH6YP25hNqpOlrjjgmiLag86+bbYOqE=; b=0WGOMeM+p4krdmMC3wmEF0XCcnvJ4U32LbLVyACH2Zio7NvJDvl/xhcJoEIWEcxE3n merpcqseZYBTh+Y0UwykqlZn5wUyEtd5P8Q+s1Er+Pj33AW5VCyiQyhRhSbjK4rgyJif s3NWxk/YIQj0UVnJEagf/eFU+1tgAeNELiQBf4ge+6nQaVnAU8SvgT28R9bMQ+RBAKgp CTIHkcwjoSxO//9LyMdTBldDffFuxRr2Kw3gwMhWlcaKY7ozflGpYca6Zz7mcgSy+C0Y Fph/zjHJp8sw9JboiYM8R4PB/rvVylsb2zNIKePUBR02RyWmkfj0yi4iemx+9a4HGnoI rT+g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si2054860ply.344.2018.05.30.06.38.00; Wed, 30 May 2018 06:38: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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753093AbeE3Nge (ORCPT + 99 others); Wed, 30 May 2018 09:36:34 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38728 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751591AbeE3Ngb (ORCPT ); Wed, 30 May 2018 09:36:31 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B35DF84255; Wed, 30 May 2018 13:36:30 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7F76B6B5B5; Wed, 30 May 2018 13:36:30 +0000 (UTC) Date: Wed, 30 May 2018 09:36:29 -0400 From: Mike Snitzer To: Jens Axboe Cc: 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: <20180530133629.GC5157@redhat.com> References: <20180521143132.GB19194@redhat.com> <2bbeeb1a-8b99-b06a-eb9b-eb8523c16460@kernel.dk> <20180521144703.GA19303@redhat.com> <4b343aef-e11c-73ba-1d88-7e73ca838cad@kernel.dk> <20180521150439.GA19379@redhat.com> <61e30dcf-a01c-f47d-087a-12930caf9aef@kernel.dk> <20180521151817.GA19454@redhat.com> <20180521160907.GA19553@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 30 May 2018 13:36:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 30 May 2018 13:36:30 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'msnitzer@redhat.com' RCPT:'' 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 12:20pm -0400, Jens Axboe wrote: > On 5/21/18 10:09 AM, Mike Snitzer wrote: > > On Mon, May 21 2018 at 11:36am -0400, > > Jens Axboe wrote: > > > >> On 5/21/18 9:18 AM, Mike Snitzer wrote: > >>> On Mon, May 21 2018 at 11:09am -0400, > >>> Jens Axboe wrote: > >>> > >>>> On 5/21/18 9:04 AM, Mike Snitzer wrote: > >>>>> On Mon, May 21 2018 at 10:52am -0400, > >>>>> Jens Axboe wrote: > >>>>> > > ... > >>>>>> IMHO you're making a big deal out of something that should not be. > >>>>> > >>>>> I raised an issue that had seemingly not been considered at all. Not > >>>>> making a big deal. Raising it for others' benefit. > >>>>> > >>>>>> If the dm bits are that sensitive and cache line honed to perfection > >>>>>> already due to previous regressions in that area, then it might > >>>>>> not be a bad idea to have some compile checks for false cacheline > >>>>>> sharing between sensitive members, or spilling of a sub-struct > >>>>>> into multiple cachelines. > >>>>>> > >>>>>> It's not like this was pushed behind your back. It's posted for > >>>>>> review. It's quite possible the net change is a win for dm. Let's > >>>>>> focus on getting it reviewed, rather than pontificate on what > >>>>>> could potentially go all wrong with this. > >>>>> > >>>>> Why are you making this personal? Or purely about DM? I'm merely > >>>>> pointing out this change isn't something that can be given a quick > >>>>> blanket "looks good". > >>>> > >>>> I'm not making this personal at all?! You raised a (valid) concern, > >>>> I'm merely stating why I don't think it's a high risk issue. I'm > >>>> assuming your worry is related to dm, as those are the reports > >>>> that would ultimately land on your desk. > >>> > >>> Then we'll just agree to disagree with what this implies: "It's not like > >>> this was pushed behind your back." > >> > >> I'm afraid you've lost me now - it was not pushed behind your back, > >> it was posted for review, with you on the CC list. Not trying to > >> be deliberately dense here, I just don't see what our disagreement is. > > > > You're having an off day ;) Mondays and all? > > > > I just raised an alignment concern that needs to be considered during > > review by all stakeholders. Wasn't upset at all. Maybe my email tone > > came off otherwise? > > > > And then you got confused by me pointing out how it was weird for you to > > suggest I felt this stuff was pushed behind my back.. and went on to > > think I really think that. It's almost like you're a confused hypnotist > > seeding me with paranoid dilutions. ;) > > > > /me waits for Jens to snap his fingers so he can just slowly step away > > from this line of discussion that is solidly dead now... > > Mike, wtf are you talking about. He Jens, just wanted to formally apologize for how I mishandled this chain of communication. As you know I like to joke (as happens to unfunny people, sometimes it only makes sense to me). In this instance I was being playful when in reality I should've stayed on message. It clouded the issue further and I regret that, I also regret my follow up to Kent where I spelled out why I later felt attacked. This is on me. > >>> Reality is I'm fine with the change. Just think there is follow-on work > >>> (now or later) that is needed. > >> > >> It's not hard to run the quick struct layout checks or alignment. If > >> there's a concern, that should be done now, instead of being deferred to > >> later. There's no point merging something that we expect to have > >> follow-on work. If that's the case, then it should not be merged. There > >> are no dependencies in the patchset, except that the last patch > >> obviously can't be applied until all of the previous ones are in. > > > > Cool, sounds good. > > > >> I took a quick look at the struct mapped_device layout, which I'm > >> assuming is the most important on the dm side. It's pretty big to > >> begin with, obviously this makes it bigger since we're now > >> embedding the bio_sets. On my config, doesn't show any false sharing > >> that would be problematic, or layout changes that would worry me. FWIW. > > > > Great, thanks, do you happen to have a tree you can push so others can > > get a quick compile and look at the series fully applied? > > I do not, I simply ran a quick analysis of the layout, then applied the > full patchset, and repeated that exercise. Literally a 5 minute thing. > I haven't applied the series, so haven't pushed anything out. > > > BTW, I'm upstream DM maintainer but I have a role in caring for related > > subsystems (e.g. block core, etc) in downstream releases.. *cough* RHEL. > > So this alignment concern wasn't ever purely about DM. > > I tend to care about that too... So revisiting this patchset: are you inclined to take these changes (I assume yes)? If so, what would you need in order to get them staged for 4.18? I'll start with offering my review in reply to the DM patch. I'd much prefer to see this level of change go in sooner rather than later. Thanks, Mike