Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp96390lqs; Mon, 4 Mar 2024 16:41:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDZoIOixIn6wHvWeNCyHU6Bf61ESL9MeD24QmkUKnES03rI1V70tPLLvhgTcsQhORMzccqG5P1+RNxlFFTrxb8zj04vuNtTD2FrNZ5TA== X-Google-Smtp-Source: AGHT+IHhfv2kjH+8FKxfYdu2MskRCQ2qVAgvrDJfrAzaG75XWdYlH+WrIQQKErk2M7xCvCdFw1fW X-Received: by 2002:a17:906:fcc4:b0:a44:bc34:8a0f with SMTP id qx4-20020a170906fcc400b00a44bc348a0fmr6303366ejb.75.1709599261135; Mon, 04 Mar 2024 16:41:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709599261; cv=pass; d=google.com; s=arc-20160816; b=mVrKpsYt002sZ5lrMCHD6Xdgdh5Gi965YFzsJiaQlfqdiaGQlDze22HsSl4u4JDE+e l2l+yzJhAnfE+mOUMwY8MF9Ux+9gXm7/tcFZ4/mFZ1iKyZbPz8oQnkRqN5xjLWfBaEID fOJOdEMoOrumv781uw6vBIu4MHhxXmugMLFlfIrgUmu10ocqKCP+OINzWae5Aqs1IYRO gLgyyZOOjqpgMHq/BciaUpSOf4THcf2g9yfQ3bRCbJ+LA8UBk0BdlZaCkl9DtcTh57s5 oK6Kq03lU2E3RkySB4nuhVb6gIycHmeiMY0+CsHgVplDH7WvBk7eKIxzkecQ5i51v8ig nDhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XPEhI/1xfyCcbzt2vESgGoKbA5gJqTvVaGEeSE3HVHs=; fh=bY0NqzffEujOcaYUSF77APrm06oSnO4DaiRN28Ro2WY=; b=aiZFnF1vohecoN+MaNYYql+cuU3BE2mXR8eLnM4OUY7iZPT+Sb27rtFyxkKEVgSpJC aRkq9ReW/fscTVTL2WvWlgdrf7wvp4mnoFmAq9mcQBtqrHJqbr94nCamsfmVFhcZ9RH7 AIpVWrpqG6r3BAWRlKiJblVtSodiuH6qr/v76rAhM0N68rkJIYxO2Q6mrLDTXeatX6/B mX8asJvUBoF9wQ0KpDxIgwZg1IDyZ0HXme8md7SwImUyH7BxsPTi9Qd2UJsH/zaCx+In V/E7YjIaMWYUPxbIvGXwzGQ3rvz/DQkbgN5fo9gBYTnSqoc6Iy8nLSw2AOS9OPQf3YWj vZNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PZgy2KTf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-91461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hd9-20020a170907968900b00a44e046bb71si2525079ejc.142.2024.03.04.16.41.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 16:41:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PZgy2KTf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-91461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DB8291F23710 for ; Tue, 5 Mar 2024 00:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC8445256; Tue, 5 Mar 2024 00:40:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PZgy2KTf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEE617F; Tue, 5 Mar 2024 00:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709599254; cv=none; b=UEqGYF49RRM49Hpbv0n5DbPmEQWHC5rwoT5FarH1V26WBJXoZt9KOb7CsJwzZwKh9RrhO4I6NMKqCJzF0Crt5+csc057Qr9EqWd7Qf6NMenB0yichbkm2r1m7x53QhX8YhZgAnLgDBsDo+XmdaODkTwILKz8qIug722W78eqHBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709599254; c=relaxed/simple; bh=RWFul7LxA2blYJmLQ2GTwyx3Gt/tPN9drFppTbMgZvg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FpZ9Y8CGwsQqyKXQDWsjhf7DnivyIV+Dg6k4/HK170nQWs/fyz2wJBpd4oEQyJPXiFHmd6+7+nieA/tNBrkFB+HvqT59Eodu5cXcO2snPID9AtctYw8NjJYLn0TolCXwMlJ06Q2J/tnNYADtRcLQibU3jrjp8fARFRHPeLuw5IE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PZgy2KTf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BEFEC433F1; Tue, 5 Mar 2024 00:40:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709599253; bh=RWFul7LxA2blYJmLQ2GTwyx3Gt/tPN9drFppTbMgZvg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PZgy2KTfBnb6Mf1vjDcjcuM4615cZ9X6EiRLV8TmypgNg41SJ3jqmqH3TJpsJcI+u 0LYl/LIHjFAtFL2T4QXPi4gr6qoIVssy1lABdREtGAplz8z0CvcCqSrEbfEpfCGk6X fv83YQXbmebIgI50pXPEgAKUk5GmkBKHraLnx+7YUy8pscbcpGdIwi/liSl6bR9a2J TokyZjWTR9GJaAJR1br9JtJ3AzM5nFWt5aNHHgwN8ywSdAipzzpFBc+CTz8y59WL2k I5zc1KnwnvHDKFITBs3DDelUWqL7CDlGarTqHp6puOBGeZSgTrDsOXGLhWniE8Vu3I plGq3yyWvfGrQ== Date: Mon, 4 Mar 2024 16:40:51 -0800 From: Jaegeuk Kim To: Stephen Rothwell Cc: Christian Brauner , Chao Yu , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the vfs-brauner tree with the f2fs tree Message-ID: References: <20240229104140.2927da29@canb.auug.org.au> <20240305113502.50980f88@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305113502.50980f88@canb.auug.org.au> On 03/05, Stephen Rothwell wrote: > Hi Jaegeuk, > > On Thu, 29 Feb 2024 09:13:28 -0800 Jaegeuk Kim wrote: > > > > On 02/29, Stephen Rothwell wrote: > > > > > > Today's linux-next merge of the vfs-brauner tree got a conflict in: > > > > > > fs/f2fs/super.c > > > > > > between commit: > > > > > > 5fa6a97d2784 ("f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanup") > > > > fyi; I dropped the above commit in -dev. > > And it seems to have come back as commit > > 45809cd3bdac ("f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanup") > > (which is fine, but the conflict has returned). Yeah.. :P > > > > from the f2fs tree and commit: > > > > > > 512383ae4910 ("f2fs: port block device access to files") > > > > > > from the vfs-brauner tree. > > > > > > I fixed it up (see below) 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. > > > > > > -- > > > Cheers, > > > Stephen Rothwell > > > > > > diff --cc fs/f2fs/super.c > > > index 09ffdd554f9c,09e82624eff5..000000000000 > > > --- a/fs/f2fs/super.c > > > +++ b/fs/f2fs/super.c > > > @@@ -4206,9 -4265,9 +4206,9 @@@ static int f2fs_scan_devices(struct f2f > > > } else { > > > FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; > > > FDEV(i).end_blk = FDEV(i).start_blk + > > > - (FDEV(i).total_segments << > > > - sbi->log_blocks_per_seg) - 1; > > > + SEGS_TO_BLKS(sbi, > > > + FDEV(i).total_segments) - 1; > > > - FDEV(i).bdev_handle = bdev_open_by_path( > > > + FDEV(i).bdev_file = bdev_file_open_by_path( > > > FDEV(i).path, mode, sbi->sb, NULL); > > > } > > > } > > -- > Cheers, > Stephen Rothwell