Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1086502rdh; Mon, 25 Sep 2023 02:54:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEv60p6VSwkc78du/0h9UGYFEo70LyyYdtcfEQjkQTs1105Plg3ZpEbnjxMHTfEtAd8fX8n X-Received: by 2002:a17:90b:3e8b:b0:262:ee7d:2d20 with SMTP id rj11-20020a17090b3e8b00b00262ee7d2d20mr5692836pjb.12.1695635658982; Mon, 25 Sep 2023 02:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695635658; cv=none; d=google.com; s=arc-20160816; b=uiNqPMLyeKruGtjSkDkKNmP/8IGoVnvPdbDjUm8ZE5oIIdZu9z+ZbFB3d/eZkhHtiL inwQj1MSVZwMsEVH5WsU53Yp1D1shTrfy4zkHnuQH+HFgjgkwioOZANHsz5PxPCTBpZ6 ktUXXRff0nNZsfsVjKxqLUCxblJPv9tVVDTz/C6o2ADDwbeW4yRyIbLeAI7qKTECfZ1V 0bDysq122aoUMUzhROo+E9DikD2pBo86fEyOKZ9Upl48pe/89fpymtQR+O6him0v7+/Z jNfxUOB/OGcAk4F4trVfDkMDDrynK1C7bg61NCcjcZfB3KE/L0uB7FP71LW4/5BDQ/As Q1GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=a0gss19yvsYo61Px3c5/UbKzCK6QsJHvTdhY7FTgBI0=; fh=6IAZuX8vhfw7C3GIqV00JVxAXcZWLuuJ9hlxxYVyRZg=; b=wGnJHubhYOsLDzlB/JQCYi13SDkGhvDIfu62bzxUw8dG8O6W46l0Sr23wZiw7a+VGM KxblvsbMFMtolVhTB4xRSi0NZsgfZC3Q70dkK8b8GF1xZQ0tiJBQF72mf1QXrewxAluw r5k94KyaXPjxu52U4ziUmHfXVwviXzGKkH+8Rfuu8P24fojvy+ycdfghpD7GsHx33Pr/ GiukVGNomgEkcQV+P74b+3TfTNSxF6sRhRmZ3hViWn0z993aar/s0TGqq0o30aMpxJpg Kjw70aH7fkh2fhMai2CyXGyP8e3ouXLDYkAiI0YDwuaO3AF7UMf4ZvYHQoOTPzQyINCC lCmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BSPUX2Ad; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id nl7-20020a17090b384700b002746ab58dfcsi10568664pjb.18.2023.09.25.02.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 02:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BSPUX2Ad; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 29D6680763E6; Mon, 25 Sep 2023 02:38:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229598AbjIYJiW (ORCPT + 99 others); Mon, 25 Sep 2023 05:38:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjIYJiU (ORCPT ); Mon, 25 Sep 2023 05:38:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68950A3; Mon, 25 Sep 2023 02:38:14 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CE46C433C7; Mon, 25 Sep 2023 09:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695634694; bh=FBty1aJ2KqEfT3F/9J9e39s5G3Gp0wbyl1YPLGW6wkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BSPUX2AdEO2Kmh6FqpBUTi3dvd79HBqhVLypLNHP4My2tHDAmCzBLuoMIIRYcty0Q KVh8T2XstG74tAxrHyzYcqu19Z3tXwHqxOILzJObNAzre6JeIf18oUM6HgHGx/+lk5 aMfhaIAJHaZP8feRKmRNSM2n2I0f1Lz0kFUv+CKGgvQfJ0CtrMkeu5MlVqpmyFZQSP 27nAaxt7xX4ct/v9uNGGu4AiGWG4IwWvqijRpi8w0118YbWxVdmYatBGw0NID6mvWC wr30NUyR8vNhlQgKBriq/XSphj/9khFvM3RT0u3OKKfBxSGRxtn+3sMSTyXq3C28BJ kpZjpT+K/u5kA== From: Christian Brauner To: Amir Goldstein , LKML , linux-unionfs@vger.kernel.org, Jens Axboe Cc: Christian Brauner , Zorro Lang Subject: Re: [PATCH] ovl: disable IOCB_DIO_CALLER_COMP Date: Mon, 25 Sep 2023 11:38:03 +0200 Message-Id: <20230925-perfide-enzianblau-5f6059909fd2@brauner> X-Mailer: git-send-email 2.34.1 In-Reply-To: <71897125-e570-46ce-946a-d4729725e28f@kernel.dk> References: <71897125-e570-46ce-946a-d4729725e28f@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1250; i=brauner@kernel.org; h=from:subject:message-id; bh=FBty1aJ2KqEfT3F/9J9e39s5G3Gp0wbyl1YPLGW6wkY=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaQKhrwVdZZgu23uom5bvSW9yVzg1qt4vX1qf/Z9Upx1PU2W /1ZuRykLgxgXg6yYIotDu0m43HKeis1GmRowc1iZQIYwcHEKwETmL2RkeLntbGjUqRfZ509b5sZufG cx/yDjpc2FXfU/vH1mvDVM/87IcFNV5wG3g4Zq1oSdzH9WWk5Mf3Cizdb06+/iJS9XsE4pYgMA X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 25 Sep 2023 02:38:22 -0700 (PDT) On Mon, 25 Sep 2023 00:21:35 -0600, Jens Axboe wrote: > overlayfs copies the kiocb flags when it sets up a new kiocb to handle > a write, but it doesn't properly support dealing with the deferred > caller completions of the kiocb. This means it doesn't get the final > write completion value, and hence will complete the write with '0' as > the result. > > We could support the caller completions in overlayfs, but for now let's > just disable them in the generated write kiocb. > > [...] Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/1] ovl: disable IOCB_DIO_CALLER_COMP https://git.kernel.org/vfs/vfs/c/2d1b3bbc3dd5