From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="MkFEdA+5" Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFD87191 for ; Wed, 22 Nov 2023 23:50:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bmx0TM7p+hBIw0oNoHs9YQvAoN9mv7mvx3pgf0NpsdU=; b=MkFEdA+5nFi/C07hevrblsU3qz X1CrQRaBzroObXbB5TFsuPJObAN8kuFcGbdQ1o+scQVeUMJV769T2k5MeIxGWY5f+INEQ420jGJ01 Lyx4cmjT6ihTzQQB+L0791V1vItGMRgcj+bF2DZpn06ghuhpM8F35SQXo+xY9AgfUb7XmpbWIctMC lkYJxF9nIp0+zfQOv8nhrkshrLRt4OlTbq1ArLb9AT4bQsb7OQmXBvd3JiZrcOnJOOpaBgd0JAIep 8To/SswEUtgJmypqqDW+dP2BsqnH/UEJ8ZLopMHDzjFSiZ0VopREKyxWtmd5/rAAXNxLeUJjsRQMl w3PxFxGg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1r64Ts-0044xN-2l; Thu, 23 Nov 2023 07:50:36 +0000 Date: Wed, 22 Nov 2023 23:50:36 -0800 From: Christoph Hellwig To: Amir Goldstein Cc: Christian Brauner , Jan Kara , Josef Bacik , David Howells , Jens Axboe , Miklos Szeredi , Al Viro , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 10/16] fs: move file_start_write() into vfs_iter_write() Message-ID: References: <20231122122715.2561213-1-amir73il@gmail.com> <20231122122715.2561213-11-amir73il@gmail.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122122715.2561213-11-amir73il@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Wed, Nov 22, 2023 at 02:27:09PM +0200, Amir Goldstein wrote: > All the callers of vfs_iter_write() call file_start_write() just before > calling vfs_iter_write() except for target_core_file's fd_do_rw(). Can you add a patch to first add it to fd_do_rw? While this crates a bit of churn, it has two benefits: - it gives us an easily backportable fix - it makes this patch a transformation that doesn't change behavior. Please also cc the scsi and target lists. It probably makes sense to even expedite it and send it for 6.7-rc inclusion separately. be a 6.7 candidate