Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp94478lqs; Mon, 4 Mar 2024 16:35:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX7eGdzUhp0VYHIfubsOml3X/5alUjEqOKKBmewjvQEpI+NL8LP33N8a2x7mBcr+NZsunQ2H4U3YL5EGFETsMeP1TzHN5NFOqPp3hJj9w== X-Google-Smtp-Source: AGHT+IE10eFy8pMb2vfspXF+ft6Kq1btyspfYMI6pyel/PJPeH+q8DSMCY/5LrEeQDAdDAbN4+rI X-Received: by 2002:a25:fe03:0:b0:dcf:c086:dd43 with SMTP id k3-20020a25fe03000000b00dcfc086dd43mr6983424ybe.14.1709598914817; Mon, 04 Mar 2024 16:35:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709598914; cv=pass; d=google.com; s=arc-20160816; b=UkD3O9lSF4A+npkK0eCyeyYFmNZKuzbLIf4XbYhcvd+1Kw7xAEodffTthIFd8wWmaV AyoFmKqR5+xY3/yCkEVM9cH5AzQDjW7H3FmAplMSASDPgRVlzghAPheIqWmwqZnjs3jQ 2sCDcv1Hno7ltxSBNjWv06by2c5ibNF4yubbkyhlnhPYZRIrzkOlfWMkc745j618wOlX /f/44X41QCM1faUlhQPfDfDSjNwthMKUQHvNhHzObj9ga/cmwHAK/mCk22XanSDLfwg2 SRGE9a9wGzOSGVQxF5PwHhI/0bNYCj3l8EDY/2DESLaS6NZXKfQsMtimHT31Y6oqePBY EigQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=l+gec52w3b84L5VzZeWYR71Pd4VTnc6B+mzVkOS7Lx0=; fh=Z5BI9onSTs4M03pNk09GWc/eFbKhJcTZxPmB4wTDoIQ=; b=KdqN+ksBFg77lsq3b9ALZaQQs5KXv6hinbDsr29PPgT1uz+Z88/uQyGooFj6TIg/N/ ABd1VWs0qV8SLjKDw8NyP9dXQe0MsuDxeoBQ5E8sFjuHzs6nilrC6fjxmPOZlaonSnu/ ujYlnvarx7dO3ajVwlCr1H6OiN8Bq6mHwqJyQRTXBpvuC7k4x4mh8ZvhV1580muvGj/e PjMaNy9tKIXHHfIWlzKAQo7tWIokEHfQI8rg41WVcCvm9kFFrZpjzP08mvUX+ioaS0fI HGKtH15IxqNEaIAkRFzx0zirDm0SHgPVSPv71g64dJ1xXeCvSlEO4YLrIbxwoUxJpRYg hfQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=eTwMpLvA; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-91457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id if11-20020a0562141c4b00b006903c84591asi10578429qvb.491.2024.03.04.16.35.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 16:35:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=eTwMpLvA; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-91457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 88E371C21CD5 for ; Tue, 5 Mar 2024 00:35:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C67FB4C96; Tue, 5 Mar 2024 00:35:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="eTwMpLvA" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 3962E7F; Tue, 5 Mar 2024 00:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709598908; cv=none; b=QoymBKIWAk6Y9CYgi1vtNlkCct8O+rpSsQ0lOTt2SaQYIOGtMugOHI8TBiiVDMjepk4RVcDTCmfayB40+MOM72z82F2dWKqFOD97sotYs23kg3fMQNw0Xm17WNkucmRiR0S+reY1UAd30yRhwU1sfJbRq0t+gBAafs6RMLhdgqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709598908; c=relaxed/simple; bh=PCsYDTURvV1tW5UvefTJtXT6+1YGaA5XQOuwIQggbKs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tw4uZxViQwIiQwIj5cvAS0XtFN5G2PzKsO5vmd2OPVr1RLDl1Abbmrfw71ZVVI45kytibf9fgMCQ3T17FdL5FgqFGhdK2JjqwA7FoqN9eRlLMJvbYbbgnzpzzpCopaH+GS2rdsGlrkxhLxMxI0j9N5E8r1TDL0qLu7dpyCQcu+Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=eTwMpLvA; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1709598903; bh=l+gec52w3b84L5VzZeWYR71Pd4VTnc6B+mzVkOS7Lx0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eTwMpLvA1SaHF4LNc71kUpwGr6OMJcdv/zLvDzu2y+S3QjQ5NGb+hDA+R1XfiEMgs JDv3yYQklVt9+RT+oqz7iuOgnG93MriigmvPc0HnOv6Kzb3HLc3kWY3vGJxUrPxSBv 8HnHGiiHtcIA7TwOuBcDbjRIwtOn5U0PTKOGnstblyx/jGZQSSZK83eW+Tb/JG6Tor vYCDAXm701w9IDdwmSNDPcCNsQ4WqRX7i1pGVjSX6QwT7Er5oRpydFfPZGa5mNQl/k 9tCKBW1TQF51V2yG9oJ1r7g+m+ocdBB9bWRvkeyZLPVURRLsMsEan1A7JoacHMSzZ3 sMjKOZ/U4n8Hw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tpc5z2B0Hz4wc9; Tue, 5 Mar 2024 11:35:03 +1100 (AEDT) Date: Tue, 5 Mar 2024 11:35:02 +1100 From: Stephen Rothwell To: Jaegeuk Kim 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: <20240305113502.50980f88@canb.auug.org.au> In-Reply-To: References: <20240229104140.2927da29@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: multipart/signed; boundary="Sig_/oRJlkEHKcsgvBkXqxPsyIe6"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/oRJlkEHKcsgvBkXqxPsyIe6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Jaegeuk, On Thu, 29 Feb 2024 09:13:28 -0800 Jaegeuk Kim wrote: > > On 02/29, Stephen Rothwell wrote: > >=20 > > Today's linux-next merge of the vfs-brauner tree got a conflict in: > >=20 > > fs/f2fs/super.c > >=20 > > between commit: > >=20 > > 5fa6a97d2784 ("f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanup"= ) =20 >=20 > 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). > > from the f2fs tree and commit: > >=20 > > 512383ae4910 ("f2fs: port block device access to files") > >=20 > > from the vfs-brauner tree. > >=20 > > 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. > >=20 > > --=20 > > Cheers, > > Stephen Rothwell > >=20 > > 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 =3D FDEV(i - 1).end_blk + 1; > > FDEV(i).end_blk =3D 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 =3D bdev_open_by_path( > > + FDEV(i).bdev_file =3D bdev_file_open_by_path( > > FDEV(i).path, mode, sbi->sb, NULL); > > } > > } =20 --=20 Cheers, Stephen Rothwell --Sig_/oRJlkEHKcsgvBkXqxPsyIe6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXmaLYACgkQAVBC80lX 0GzIEQf+Nr7j63ZtcVQULgGJvkNDDgjoF6q3Y2b/Dgc+nwd9RrXMHP5uWM70hOok 2XOU081BQ/+s4/wOWGaP8iKENH5dCKUXlyE3mBnMfwxX9v2KqiIMIkBEv1Mlub0r npC4XvwZB/2LNgrmQsdkVi/CIw4DHsjmwciS8BSu/rI0cApaeHjepqF/9WTeTAuv GbrFt1aZQvHEve2k4Aay3MfrdRkVD/n4cF8hFyq/+MjfIfZnmvlgklPzfW/aa4f3 e/ACrwEnk+E4WM6U/n060yVsk8lZOr14fb3uIS5ZTzqNvhKyoZJmhHVwf+mkA4Lx HyWxwvxnaz3HRESvcby91iW4x8zMng== =xfij -----END PGP SIGNATURE----- --Sig_/oRJlkEHKcsgvBkXqxPsyIe6--