Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp485724imm; Mon, 21 May 2018 09:09:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoQCv6wfmgGD+AY92qCdA6qIEsKI0Mq2XMc/LaWzR3EibkeyKVMhn0u0XwoC/qo78Q0Kt6G X-Received: by 2002:a17:902:a585:: with SMTP id az5-v6mr20889179plb.79.1526918995229; Mon, 21 May 2018 09:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526918995; cv=none; d=google.com; s=arc-20160816; b=zn11+45HoNnGmRQisoFFX6YG7jB/Rd/ggX5q76BXiaFYhHXXvLjE/iYhoG/xB8Hf2v pDO0ex+wxEAE+vBrWHuddA9mPtf9qWnW4GkdrcHKCgzKPGXTsA6xDV/8MR0FZJshrulR FyOyqHbyZD9UFHDd0WKrHfGJsSpbsXHqS72qcIot3XDFYz4H88TDVxBVBNoU2FPHvxlB D1CpUdc7i3gJgiPAKnitRzFBR1nb3I/WzY5l3F6OC6pdi89yO5TIzfyfNT8fTwhBleY0 Y2VQxfi6WHT6rReK67P7R4riJcqsUiBJJhqYskk8jQwiXI/lNxDPfWM2eSO51enLoHvP 49nA== 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=OML0kaWppWfdrOET4Yu6zA/stsiY2OSDFx0tCDBt16o=; b=drd0EkoJJq+xnKvqYwCkmHw8vQgAVbuW/OUJNcyhgnZwswYYP9u1OnSJUTaiGojGm6 Tj8O7yVswXKXLyIw43vjShl0IXryszTk94EiOjjFn6y5WUkGrQ0GQy4B9P5IVH34jXjY zGuSJPeeRRgT0vcZ7NmJ1QE21klu1mbjLYhY2BUYc465Kc3qBRUjkz0M3XyyDEFLALew S3d0GIWm4+aY8KFL5NTCf2xVeVc5h9u1pSmhiMOuaNW4SaaFvHar5iuejByEmBfA9lVG p+OknFitoSWxkkQukIlbUNdK6Nx/QuyLjeRSxLXvfPj+mqOrbISxNjg5nxWfTri+MRW/ 9n1w== 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 n10-v6si13800839plk.112.2018.05.21.09.09.38; Mon, 21 May 2018 09:09:55 -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 S1753089AbeEUQJS (ORCPT + 99 others); Mon, 21 May 2018 12:09:18 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:53586 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752985AbeEUQJQ (ORCPT ); Mon, 21 May 2018 12:09:16 -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 DA28881FE17E; Mon, 21 May 2018 16:09:15 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 811E385778; Mon, 21 May 2018 16:09:15 +0000 (UTC) Date: Mon, 21 May 2018 12:09:14 -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: <20180521160907.GA19553@redhat.com> References: <20180521140348.GA19069@redhat.com> <686d7df6-c7d1-48a6-b7ff-48dc8aff6a62@kernel.dk> <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> 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.8]); Mon, 21 May 2018 16:09:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 21 May 2018 16:09:15 +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 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... > > 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? 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. Mike