Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1764647lqz; Mon, 1 Apr 2024 17:21:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsSgefkWRWg07xPDrCw/TY/2WxsHp4Fa9E4ii7u90aT7KNKIJpzeAU6tfDghH6K0wmdsBdu0g1pCL0E/XnOByeSwYvKhFFUoBGxgwKKw== X-Google-Smtp-Source: AGHT+IFvK9MZGho0OSvbukAgNd+ANjCzB+iXhz+6AyAV7Vjgx6sc1b90h98YqEkjFd1eIWeLAZw6 X-Received: by 2002:a17:90a:bc95:b0:2a2:13ec:fc6 with SMTP id x21-20020a17090abc9500b002a213ec0fc6mr8358403pjr.10.1712017315585; Mon, 01 Apr 2024 17:21:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712017315; cv=pass; d=google.com; s=arc-20160816; b=VqK8St6CJrp+2JRbRlTcOJDQzVHC3JK/LGBxMoc7ViYoeHhK9vwLoz6Xe+K9YkjgND le6yoKVCTkdinOu6enSbyxTV4ZRs9if46JWbEb2KL60+jvpgWkknmzqeQCNMdT1E83Lj pV1QV2LKI8wkeTk5UJrQede5VeoghKAx5xpgEiZOAL+q2v/dfylJ8Ze+1bntf5LVj771 Ak5JlowXiorPgllaG0Z3H7rCbDpoVP0yRU6aQwcLRR11CuqA9wxJ6tqKU/ua7ICetqm3 NypedfQn119YyFzt8VoCTZLinxyU2TmLyemVCFePfzQYbAEHcnpvm9lJlatU7HC5Q6Yv jSDw== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=gMMtVq5Lf5HuxAgdXLsccd9foneJW+RAfAaeZNb8sp0=; fh=BYbuz0WB89y+6VOuXKSWyqHXhwgx+/xs2P6RZsMWEUE=; b=Q7lhaaEp+4ptadDDN7UkxO5nSFH7EuL5wzMoMnJ8+quASHp4ecBAM7L+WQj1LCbFkC J2zxMq65Pbj27hzwdFFT546KvFOswRvznJzFMtT1FFruyoFWrJCRyPeDUmNaGlxPSX0u Sy9gNJFQFqb/u2PjchRILLfOAvFX5YJ3Z/1+2sBWXkHqqazqc6WKd94ZUs1Ul8mG+UAU oSx9Of0BOw9846v26KWBA/m7g3AgF7A6hMHVYXPW4pA5G/LiS46REMTqLaEp9adxzv80 POk+kbwXBtu2fEIeTwIqBoBnF0Wqgpk64VwH7F/l9+odyBf2mK0uXqrAzJ6qeXbqmJiC 00UQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=qBhA8C90; 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-127237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127237-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 sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q4-20020a17090a938400b002a028c3b3e3si12218627pjo.73.2024.04.01.17.21.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 17:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=qBhA8C90; 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-127237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127237-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3F9BE2871B9 for ; Tue, 2 Apr 2024 00:21:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1B3E320A; Tue, 2 Apr 2024 00:21:49 +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="qBhA8C90" 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 1BC9C81E; Tue, 2 Apr 2024 00:21:45 +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=1712017309; cv=none; b=e/Q9xOw5GfDVohXp65LStY7E/lX2xghRe2wtiAYsKPSJNleqXiUx47cAaF18AVLnvvfpeomJLNp1yI7gkkHxxLZJMK80PuBSVHg3SY/s+0EXnPD9PM+X7xXw4DpREa5N7y29HJR3ScD+QChHzFEsX/tZhSW9SVKn1N2+P8TizqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712017309; c=relaxed/simple; bh=w/+a/gEdJV0jfT4VPwgdXJs9Gu+Y7ljqsDSN+O7LGjI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=Aw3uN3+ZAWQrDyjNsdAie7pDJVgrqZGrbeNt8Lllavs/jdY1bicF84XtonmyWsOTzdMma+1xZ7rsYKHuiEW7H9dYgWSNqFUw7gZOBK9l04ZFIKojumt0a1QO/KGhkJ2GVz6RMR2eVp91FezuGCWvJUebzM5qVA9I+cu+TiFN7P8= 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=qBhA8C90; 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=1712017302; bh=gMMtVq5Lf5HuxAgdXLsccd9foneJW+RAfAaeZNb8sp0=; h=Date:From:To:Cc:Subject:From; b=qBhA8C90srhrosWy9stwVD223mZeSuijkjdCZPnMfE31qi6Xw2wV9OLiSAJ739rxp OUuNqL9NmR96aZXfz+i3hynfTpIGtpl4/Y4pPVRWwmKeE3HNGEO9B47seNAN6slvWx 9OX4ZeHWegcQyeo0ZuVReFPUmRypimIIcST2l3wjPUydlmGw0/xVOzbGlrhTwAd7r7 LF8N7gTXPH11h+1SiIjRurU2HHgqM9cpG1iTA/ELInUulrBlD7OFJVfFQ8Q2Di0G76 t8m4KQ+5OIFCKnYFbkytL58y7pM8SlQSPGQdT3c1jy9kq84SGSYV8srd1GqdJRBLDT MTMVkOgVd14sg== 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 4V7pTf1GLRz4wd7; Tue, 2 Apr 2024 11:21:41 +1100 (AEDT) Date: Tue, 2 Apr 2024 11:21:37 +1100 From: Stephen Rothwell To: Jens Axboe , Christian Brauner Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the block tree with the vfs-brauner tree Message-ID: <20240402112137.1ee85957@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_/BxCzTd0iDCwaZ201janyBC4"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/BxCzTd0iDCwaZ201janyBC4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the block tree got a conflict in: io_uring/rw.c between commit: 80a07849c0b8 ("fs: claw back a few FMODE_* bits") from the vfs-brauner tree and commit: 40ffda3dc1a1 ("io_uring/rw: always setup io_async_rw for read/write reque= sts") from the block 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 io_uring/rw.c index d9dfde1142a1,3134a6ece1be..000000000000 --- a/io_uring/rw.c +++ b/io_uring/rw.c @@@ -1021,13 -1003,13 +1004,13 @@@ int io_write(struct io_kiocb *req, unsi if (force_nonblock) { /* If the file doesn't support async, just async punt */ if (unlikely(!io_file_supports_nowait(req))) - goto copy_iov; + goto ret_eagain; =20 - /* File path supports NOWAIT for non-direct_IO only for block devices. = */ + /* Check if we can support NOWAIT. */ if (!(kiocb->ki_flags & IOCB_DIRECT) && - !(kiocb->ki_filp->f_mode & FMODE_BUF_WASYNC) && - (req->flags & REQ_F_ISREG)) + !(req->file->f_op->fop_flags & FOP_BUFFER_WASYNC) && + (req->flags & REQ_F_ISREG)) - goto copy_iov; + goto ret_eagain; =20 kiocb->ki_flags |=3D IOCB_NOWAIT; } else { --Sig_/BxCzTd0iDCwaZ201janyBC4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmYLT5EACgkQAVBC80lX 0Gx1iAf+NrBJVTcz8K/6ezjUANPifsGkqwpKblsc6vyphLQiJUQKyh6qwC4hTjTr 7XUm3/ji8aU+vCpzYyeW/t5JGOi12co3tXwFLKFbxy5T9zQZX+b+bpEEKZ3mXc4x 3ctrmBlVLALe8Nt3KdawTsl4nvwswvBOzmemZyyu5+saHEC0HapImLyzuvEeFg+9 eINhHu8zoEjTuEpAxleJ7RnBlPFpdYbjAFCiHO0hVuzBNFxcDN+T6myR8fHdgQth sNaE+peJbbJXmezN3jeiZNW/oiVJ+M7gKK7J7JaAPFPQ3/5nH5NyuaJ+M+O2TeHt MSvzvk9QIC2e5yaxLF2EJlhtKef/7g== =06Jt -----END PGP SIGNATURE----- --Sig_/BxCzTd0iDCwaZ201janyBC4--