Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4526479pxb; Sun, 14 Feb 2021 14:00:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJww/K7q4nnCMdXKnVis/cuNvZzrPzEKX4Qgk1lxg65H6PC3b2fP9TmO26XobgiPYFJxV2SM X-Received: by 2002:a17:906:5e05:: with SMTP id n5mr5659467eju.349.1613340020119; Sun, 14 Feb 2021 14:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613340020; cv=none; d=google.com; s=arc-20160816; b=bvEGcJ7jaxxgfdMJOXDCsOD0zcpdL65nzvVnxS6absE75M36X0c7pTyrr5BpgrvVJw pWyXbsXPPHG2hMb9iiHrF8Z4PDCCDgaFyqMvdu2bfKWTDivbRW2U4vnAnJ+PTIfqw4fb L6sMEO9ziqOtddaGw/Ed1NdelofqpqVo6f4J5D9rF2ATZcPToXQ4TzajhLfC5p+UEL2b A/17eT7JNn12CzxHHBr8mpfNCbX0umF7oVSqczFGIT1hhCVxV3RuN6OeBM7PtoMRjamj b8llJbbe+DUmssNwruOtGOiJ+BOkaBDH2LT4iIfc8toUbTQBHuux/RHSRl/SK+NrIjDc LLeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=XDl+x5YCHoa2gqRcD5AYwEgTHK6av9R7NSaTafpNqMo=; b=xc1JT17mlBiGf+13e9gsFE2KH3AjNyTBzEhEIqBTyOTMcNML+hz2G18EHZwRByULm5 BgEjrIKHBIeODm+hR+ealK2LSUeZiltdkdKIMPEDWCBzs2gmIOCtVK/7Qa0ymPbvwio5 7siEiXxQMuEnKw48hIJGiO2AvcO3QYOapSXiPe45cbYoMnHShsAXFkr08w18wSNn/17h PhOeBxoRFbzQ/rdWrxk8b3g0+MkJLETX3zTHHNoAkwTm29LHh93e31oe7IGIOMAPzcGB JqUhn6FQnnkaooqJa5618cjUB9p1ofdPv7vshkIdh3ZlPIMQufkMxTsZ1vqd2tb5Q9Hh axRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=R7AN6hKG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz20si3971729ejc.351.2021.02.14.13.59.57; Sun, 14 Feb 2021 14:00:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=R7AN6hKG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbhBNVrY (ORCPT + 99 others); Sun, 14 Feb 2021 16:47:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbhBNVrX (ORCPT ); Sun, 14 Feb 2021 16:47:23 -0500 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0438AC061574; Sun, 14 Feb 2021 13:46:43 -0800 (PST) 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Df15l3Z1Cz9sBJ; Mon, 15 Feb 2021 08:46:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1613339200; bh=IEKRx6JJNBtw7F5gkckuDsYJJ3HqRzrE+ekwNwTUNiQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=R7AN6hKGuJRKH63ZKJqghvFXfkHfFLFp3tHtHb+phEkXFd/g8XDTGfqc7zbFfo7xG msRHBe0P2bkJxbXo7JUM/0hWdd85JOA0onZYg2kzttaZNEGAaLpj6rM/dR31JZa0KF gGpLtur1IZtoWGQ6jUE6NCpCaYC+yentgVpqmN0N0T8XU1nuqWzZzzqSlCN02ACoBs p2lsOQmb+MhjagS0GSCRzSND7TpdbUgZ71ZC9jGngRCNhQ69BGVmx1uVoN7bwvB/ep OGLsdFXLBKqLYwI617GiN2xZbIRHVNAwwj1jphvuAPw89pbAZi92oKpKuw2B/1IkDa MaOhLbdGnnM2g== Date: Mon, 15 Feb 2021 08:46:34 +1100 From: Stephen Rothwell To: Andrew Morton , David Sterba Cc: Christoph Hellwig , Linux Kernel Mailing List , Linux Next Mailing List , Martin Raiber , "Matthew Wilcox (Oracle)" Subject: Re: linux-next: manual merge of the akpm-current tree with the btrfs tree Message-ID: <20210215084634.06c1b430@canb.auug.org.au> In-Reply-To: <20210127223918.1b3e4b3f@canb.auug.org.au> References: <20210127223918.1b3e4b3f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/.4DdQRYZz9OiqpHX/i5.qP0"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/.4DdQRYZz9OiqpHX/i5.qP0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Wed, 27 Jan 2021 22:39:18 +1100 Stephen Rothwell = wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: >=20 > fs/btrfs/file.c >=20 > between commit: >=20 > 0225a20db6d8 ("btrfs: Prevent nowait or async read from doing sync IO") >=20 > from the btrfs tree and commit: >=20 > ddcd14c48a30 ("mm/filemap: rename generic_file_buffered_read to filemap= _read") >=20 > from the akpm-current 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 > diff --cc fs/btrfs/file.c > index 5282f456c99c,898ef7b792b7..000000000000 > --- a/fs/btrfs/file.c > +++ b/fs/btrfs/file.c > @@@ -3629,18 -3639,7 +3629,18 @@@ static ssize_t btrfs_file_read_iter(str > return ret; > } > =20 > - return filemap_read(iocb, to, ret); > + if (iocb->ki_flags & IOCB_NOWAIT) > + iocb->ki_flags |=3D IOCB_NOIO; > + > - ret =3D generic_file_buffered_read(iocb, to, ret); > ++ ret =3D filemap_read(iocb, to, ret); > + > + if (iocb->ki_flags & IOCB_NOWAIT) { > + iocb->ki_flags &=3D ~IOCB_NOIO; > + if (ret =3D=3D 0) > + ret =3D -EAGAIN; > + } > + > + return ret; > } > =20 > const struct file_operations btrfs_file_operations =3D { With the merge window about to open, this is a reminder that this conflict still exists. The btrfs tree commit is now 1605f1b63c76 ("btrfs: Prevent nowait or async read from doing sync IO") The akpm-current commit is now de45c82ebea8 ("mm/filemap: rename generic_file_buffered_read to filemap_r= ead") --=20 Cheers, Stephen Rothwell --Sig_/.4DdQRYZz9OiqpHX/i5.qP0 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmApmjoACgkQAVBC80lX 0GzgmggAkKTaLtuRpY/PIWibxnYsOT0ICBWlsLzTI2DwqzfKqi9g0WTwmkvV5nvx 4FNFVOgT1MAxXvKG+DRMb9MCzMiy5HnwxrSqKtmXkqPEoTsJu4hpcLkdO02RoMeg /kCdgP9uBZj1/uFP2/IqXMLrmSfi1sdw5O+4ZeCKLQmVgJpVKLTkFrxUvoYCGW7X 7fx0pAR55uPzce2V3B/1kRxEM5+puNWfVqzjOK0ChZj5wpWTlJzKi/X1AHs4zeWy AEOoUpehy/A9EaPPnPJGVQNf5vLeZ/m5YrYcgmAx4Dd3YBWZfTyLDA7E6NBKwriq WLXbhSEHHnoC5EkhanyR2i7nLkVcig== =O4Ra -----END PGP SIGNATURE----- --Sig_/.4DdQRYZz9OiqpHX/i5.qP0--