Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1368317imu; Wed, 16 Jan 2019 18:18:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN5OWv4luyWIrssTf9YLdPcYArtJz57eAqbl49YtHBwxtVGWk/zwXhb1NEYVb8CWxgQgwzUr X-Received: by 2002:a63:d252:: with SMTP id t18mr11790464pgi.133.1547691505111; Wed, 16 Jan 2019 18:18:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547691505; cv=none; d=google.com; s=arc-20160816; b=vePsSSWKbgewx17ZPK1GBjgeJGTvLMvqHmz3nlbQJaDNFdbV8lHLfe94aHDMJ9C8rH q3z0YjWUALLst58MnORNrS/NRYdDC4Fd08FwkaEpnItlR/oLH7kYvdg85nHgq4Jma6/5 4vdqW7IGp427Z8NCnKXH3VdCnQaG8kdS++prEwYbeCK/rqjPhN4UX4qIMYVEFvqRZ9RW htsU1cIWTowft2CSRJtRfgx5LvR34qbmGs0HR8DQ2IVNc2dH4Ls3RYUQ+XctKjU3u+pn sWHeuGbiz7jKfe3wTcFg6i53W3HL01ADvqhgkvpSsW9dOO00QPyrYmQpaBJfFl70SAeV W8BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=A8fjqfuCZbV1Ss+ytPCtexDUFcNd+R7NIsyurRBRh74=; b=MQXpJ7/1zv4ITOtpDSKuywS8lnl6/2knB+Cets/XvQf8RK0G66DCzJVMY3AyTZI7+P +0AqCP5L4je3iSw1xTIMaL3UHd5fGlgoc7exXeX6y0L/DkHM7lsPs9tAywCFYuH4DItQ G9R2eLDJbnBhLjnN0QyrIwyel6DmfpWkS7QioPiBThcfobCBAMggsMit7n9UOolxGugz wXk9vLvUkI59IYGmN2skAPp4kvdH9Gaeppl3IiY/d03PsoONy2IcM/SzIP1gTdr5/dIV EjnhTbAxGBte/Bg01O0Athgmw5Rk6JHzA+Y8Qm60j0knU3yIuys9etm8yo0jO3ci3nGf 3SrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=XI4YPeV4; 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 m11si218698plt.26.2019.01.16.18.18.06; Wed, 16 Jan 2019 18:18:25 -0800 (PST) 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=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=XI4YPeV4; 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 S1730849AbfAPDRl (ORCPT + 99 others); Tue, 15 Jan 2019 22:17:41 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41111 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729097AbfAPDRk (ORCPT ); Tue, 15 Jan 2019 22:17:40 -0500 Received: by mail-pg1-f194.google.com with SMTP id m1so2134949pgq.8 for ; Tue, 15 Jan 2019 19:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=A8fjqfuCZbV1Ss+ytPCtexDUFcNd+R7NIsyurRBRh74=; b=XI4YPeV4w46qxFzP3O6/I7SDYYBqmyrprR0BQ8MKKja0VHQpb/c39p5+d6vgYhr6aE FeE8C6zEEsNKmY5js1affbLD/Wwo0sxImo3ZZbu/Ed+n1zhfM61p+0TeS+FN0phCMyhA tyGGA+gR4nxlK87wsWsw7YhqBR9hgc854fKkVBNs43vKUwZj8+Y02MVeDK5sVXglOICR EkfhP9NsRPzAK8UgpkSWiyXoDG9AddE+Mo2kJSb3vKvXGwy9XBn+nZIB7oLVzsheUDmb Xvj4+gDKT2OHcXWA5SjHrOpRV3Tb60eRVOkxR7TX8CU/9G6o+dGYqKf7jEr9csbR822u 4SbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=A8fjqfuCZbV1Ss+ytPCtexDUFcNd+R7NIsyurRBRh74=; b=ivpFOAWI3LTXKa5fJb/BU3VBFgAC9AUmR5QHS0fnqfCuzVX1kHGqcD1rGGQ9MixSAu +tXeIPxBUg2ygKeECB5yHVFMItM5lTIcGr/JYR4XFQ6n1MavKH7tEofmrSON23w7y0ow 5geTqNXYj4MIKmvSPqPspAZQWq27/D3H/qX0glr9TfX6JfCTJyv6byTqaC9lQ3M4j6ft W5XPJMs9ZH0mFnHYAAZ5fg4NveneeuQaDQPu9q9badNv407FaHfpHtenhl/QZg0ehouC AUasrjKk88cbig2StMa/ugdcV8zcPEsMhVtUb5iv6CUJbW58KjM710eNmEc3PFa1cnp+ QDOA== X-Gm-Message-State: AJcUukdW2fYT51YpVtGWEFmOIhyLqgwKlAPopJBIG4X2lUnfWi5pTqYl O2TxPjGADBBaR56dFOsEsZ4nYg== X-Received: by 2002:a62:5c1:: with SMTP id 184mr7371169pff.165.1547608659338; Tue, 15 Jan 2019 19:17:39 -0800 (PST) Received: from [192.168.1.121] (66.29.188.166.static.utbb.net. [66.29.188.166]) by smtp.gmail.com with ESMTPSA id 78sm8662533pft.184.2019.01.15.19.17.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 19:17:38 -0800 (PST) Subject: Re: linux-next: manual merge of the block tree with the fscrypt tree To: Ming Lei Cc: Stephen Rothwell , Theodore Ts'o , Linux Next Mailing List , Linux Kernel Mailing List , Eric Biggers References: <20190116132522.1b756433@canb.auug.org.au> <20190116031301.GC26146@ming.t460p> From: Jens Axboe Message-ID: Date: Tue, 15 Jan 2019 20:17:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190116031301.GC26146@ming.t460p> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/15/19 8:13 PM, Ming Lei wrote: > On Tue, Jan 15, 2019 at 07:55:39PM -0700, Jens Axboe wrote: >> On 1/15/19 7:25 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Today's linux-next merge of the block tree got a conflict in: >>> >>> fs/ext4/readpage.c >>> >>> between commit: >>> >>> acc9eb0a6073 ("ext4: add fs-verity read support") >>> >>> from the fscrypt tree and commit: >>> >>> eb754eb2a953 ("block: allow bio_for_each_segment_all() to iterate over multi-page bvec") >>> >>> from the block tree. >>> >>> I fixed it up (see below - the former moved the code modified by the >>> latter) and can carry the fix as necessary. This is now fixed as far as >>> linux-next is concerned, but any non trivial conflicts should be mentioned >>> to your upstream maintainer when your tree is submitted for merging. >>> You may also want to consider cooperating with the maintainer of the >>> conflicting tree to minimise any particularly complex conflicts. >> >> Ming, I'm pulling this, I thought we agreed none of these bullshit >> renames? The fact that a patch looks like this: >> >> - for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \ >> + for_each_segment(bv, (it)->bvecs, __cur_iter, __cur_iter) \ >> >> is SUPER annoying and does NOTHING but to cause merge conflicts. >> >> Resend it without that. > > We need to differentiate 'segment' with 'bvec' in bvec helpers, which is > usually seldom used by drivers. For example, only two in-tree users(ceph, iov_iter). > That is why I rename it, and seems Christoph prefers to do it too. If you want to do a rename, then we do it after. I don't want to deal with weeks and weeks of fallout from this. Write a rename script that we can then run at the end of the next merge window. You're going to be playing catch-up until that happens if we go the current route, and honestly I'm not at all interested in the fallout from that. I know exactly what will happen until 5.1-rc opens, and what my tree will look like from having to deal with this. And then I know exactly what Linus is going to say, and I can't even argue against it, since he'll be totally right. Hence it's not going to happen this way. -- Jens Axboe