From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0573C00A5A for ; Thu, 19 Jan 2023 16:47:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229488AbjASQrF (ORCPT ); Thu, 19 Jan 2023 11:47:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbjASQrA (ORCPT ); Thu, 19 Jan 2023 11:47:00 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFEB11705; Thu, 19 Jan 2023 08:46:58 -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=qOrQSG3CyNZqwNHCXUk4cZILY4WBWB5Fk6DMsXQZlPI=; b=dv+Q8SRNlAfNqBSRp0Em8Jl7aw Be+1BVlHWVF6wRCWnsXlbeIMihy5C7kPU2q8GprKUxGcQjgXLPudigh9CPmjNy2WGkGW9c6Zf+U9i Q+wtAw77ceVRrazH0CUWMfguys9eO9/6Qxz2s+xic93pxjUdBDSxa8X+Ly5PgfEYULETqEPmE1Fse FE3QET0fgAXuBcE/l8CBYCKNz3qd5XBowMXBtKMwhBzK/QeYreAvHemxuRQQ2Wv3lOPxpkrGXFhs6 hjjxQnLlW47WVrXrmsES3q8tt3JuKOyMCV/yXzY49BIJ/AEqkNxceraqCnmPFhPSUmK2wPvYLGEKk EgjkChsQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIY3t-0065Hq-3l; Thu, 19 Jan 2023 16:46:49 +0000 Date: Thu, 19 Jan 2023 08:46:49 -0800 From: Christoph Hellwig To: David Howells Cc: Al Viro , Christoph Hellwig , Jens Axboe , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , Matthew Wilcox , Jan Kara , Jeff Layton , Logan Gunthorpe , linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 01/34] vfs: Unconditionally set IOCB_WRITE in call_write_iter() Message-ID: References: <167391047703.2311931.8115712773222260073.stgit@warthog.procyon.org.uk> <167391048988.2311931.1567396746365286847.stgit@warthog.procyon.org.uk> <2724947.1674122486@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2724947.1674122486@warthog.procyon.org.uk> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Jan 19, 2023 at 10:01:26AM +0000, David Howells wrote: > Al Viro wrote: > > > Which does nothing for places that do not use call_write_iter()... > > __kernel_write_iter() is one such; for less obvious specimen see > > drivers/nvme/target/io-cmd-file.c:nvmet_file_submit_bvec() > > Should these be calling call_read/write_iter()? If not, should > call_read/write_iter() be dropped? I wish they'd just go away, they are a bit of a distraction.