Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp583720pxb; Wed, 27 Jan 2021 15:51:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwk4A/PbVI9CrCeg4yL/cmnbCZJQ0NmegY2neOYguoIGIt803eorQdvkYfR0IHvCRE6Xuh0 X-Received: by 2002:a17:906:d19b:: with SMTP id c27mr8766239ejz.234.1611791507048; Wed, 27 Jan 2021 15:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611791507; cv=none; d=google.com; s=arc-20160816; b=M60NJ/AsuTnoAbVxCkYH+wDpRpZo+fZ41udlIgQojycaZIv0tpqq7Df7mEPH9woTzP fXdEUFNQBPtOhYVjhFer5EHUpZ/2uGAq5eG9QIifBakdeEYrKYhJ7FdK/G28HrRwiNTN myneGsvqZ2BwvOYLuSIKuREyTxJstLll8/arR3AzDWZzVzD8xNCPOOt4TFQtX2TR+n19 CxYdKqmUGEPqnq9gOH7+bD/jkeveJP7KxhG6AtJ6vkXkRxX2Qvgp7Bf2ycl7jBJmwQHK 3O4SHtSztl+b1miZpPhku3UWWILz8rIXjY0qDk2kbW3/HmIMftNJ+3w+0ZnKhmTg8Qxz 1byQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=BYL9p5UKkazBzRNJfCbuIG/SwtE0VEu9XBWkg47VP34=; b=cLD6sXP39SZOzlSCIG9xKGcxZ0zNf8ObeRyqSdoIVStW+OulCLUJerHT5szatr+RDa xydbW4rQ3mW/3Ww8+RbPwOEUb8wYjVOZKPFbm5Q8cDJ/k16pUUypt6Pu4Cp6vr0FKRBe vjUANBeODCWNFolLM3rYEV3AkFXgW7bPs/448NHZ3+U2ZDz6oKST+uB85mmNJoKZtqSE EDBuLBCIDKeaS9Dzmki3OqJ18a+Y4BYLCpiPnuQqG8X/OZO2rSEyrWXTJ1NkSgkAx23G Mbu1J3VzMqX8EzlYxkuUD0TdwKR1dN/F2b8A90hVM9ZQMMH08YvTqwE70Lj4q2EdPMey x9ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=HJCqWfsh; 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 n11si1464359eje.293.2021.01.27.15.51.22; Wed, 27 Jan 2021 15:51:47 -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=HJCqWfsh; 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 S236898AbhA0LlG (ORCPT + 99 others); Wed, 27 Jan 2021 06:41:06 -0500 Received: from ozlabs.org ([203.11.71.1]:52263 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236938AbhA0LkL (ORCPT ); Wed, 27 Jan 2021 06:40:11 -0500 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 4DQhTM2DMyz9sS8; Wed, 27 Jan 2021 22:39:19 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1611747562; bh=hQ7Mrq9AxKBZWvNBKP/PYnXxj6VoO/Kf/wBYrz8n0ts=; h=Date:From:To:Cc:Subject:From; b=HJCqWfshHsBwsudWdwOOOM2570sZ707JhhRtwrpVuFe8FFBeC7mL94goCYDIyCSLy IGDaQL74aeFJ7SjTn7PHjQk5JMEHCGAhF5YlzzNYgZujolHoFRaQ6dIyhg/rUa2cVq fkLJO8IDgoIXKc1kARztcUhZAIKbLbcmSHGltFwfL7SCkX7x8N5e9uZAPD1Bv261pI sfOnJYiVJQFqXphHa1t1eAOQO7Mcq6yx0RokI4gEScWRwIWDlIu3ACDo/o5MiiB6tg NSbB+qfPX9C4mrmXVSz3y49DAU+t3OnKwtFfayYNIRQoNnAj3Chb+I+mPtq8Aub3Mr sx/psBrxB3Azg== Date: Wed, 27 Jan 2021 22:39:18 +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: linux-next: manual merge of the akpm-current tree with the btrfs tree Message-ID: <20210127223918.1b3e4b3f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/l9gz.s2npSG+SyuDen2A6Rb"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/l9gz.s2npSG+SyuDen2A6Rb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: fs/btrfs/file.c between commit: 0225a20db6d8 ("btrfs: Prevent nowait or async read from doing sync IO") from the btrfs tree and commit: ddcd14c48a30 ("mm/filemap: rename generic_file_buffered_read to filemap_r= ead") from the akpm-current 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. --=20 Cheers, Stephen Rothwell 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 { --Sig_/l9gz.s2npSG+SyuDen2A6Rb Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmARUOYACgkQAVBC80lX 0GwUTAf+KYmKcJ8DMkClAUpERqkIEdEgysnQi1Yis3T5VgZiypDCG76zlUY68+qe PVmIHO47y7KNTgbdkTxcGLYpaESVAA/IH9Chxj+ZugO12yYCoe6JwEel2cyVFhws xvqsYiNeExbpsSt785JOyt/B2P+sv8JqY8Wy3HilRXrRsMD5D9dTeZS5duQm1Xkl XQ8eONAAIKRRDbqENPI2qtpEwnknXk6YxU5d/gEecHdDPUUhxpduATeiK91ifjeF QeG5xCwHxRQJ84yFUcDr5cu+ooZ+hxoALbEEhhYJFbThsDlIVTX7uphbFILkE3k+ V0pNaDGGdb139GZnoQ0OAUn9bRv3+A== =MJE4 -----END PGP SIGNATURE----- --Sig_/l9gz.s2npSG+SyuDen2A6Rb--