Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4100701rwd; Mon, 29 May 2023 23:59:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7sxyXn4LeEhStb7+uS05g9foDni0hpyGZ+Up07KS9yZhi5MRaqA9gkiMHwY0MWwIPGj/VT X-Received: by 2002:a17:902:d4ca:b0:1b0:34d5:1bc7 with SMTP id o10-20020a170902d4ca00b001b034d51bc7mr1546603plg.20.1685429949385; Mon, 29 May 2023 23:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685429949; cv=none; d=google.com; s=arc-20160816; b=VA4mROMyguzfjcO1p8Hf/qh5/HxFK5hoIinS6j10Y9OHWzEU6hQn54BdmQBWIGUb01 Xsv3FutzO8CN0vmi+LS7eovuoduVZKyS6SaNgqTse3W7lGRynYh25cy3TC68+RQFq1MX V3bH0K8SBKf8Z+Afaa30znwaW1NAgh0IED7pc1NEV0/yBePpPU0F8hMYOEIBWA8mMMIW A5ctrQ29S2QFBKeOzGeiE6ndrzBtvqpYX5N8cB7jsLPY0kTT9O30ECEHhAhOPSyMjpPC aZu4I3dwIpmtTIHl/rSKib8CMBINRgWXpHCqhFInGhCiwptTmsQRtb2dFlGMY4TJDtcn 9OAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=wWXYP+41GoV2YheaoKz5SXvxdufsZAJ/DkvO+3vgn0U=; b=yyMty0PP3jnhIj85DFTvGI5nEu1Yu7oSinXF2OkIDiUXyRlnidtxltI+P3ksRJPiLL jTh9Q27riLvt6KbmS5EV/oHNHKeylEfgtBPi+zlImCQyYe1r0blCheFviJzsCvSkXrAn qINzp1IdS6YJ+qZ0yM2SwUxqWgc17xpcD2IzykafRyKOdhH0MVCFxHfR2Kwq2XOWkoEb amI+VUG04gv3wOwF+xz1iBBbmCFzIBLXxlaY3nCmVAnL8J/1p+071E5gUH2oHoTFBbkH 1ePAfwXAAfmlcisesAquZdTxFOd4zwnIS41/SHOoSM4dmQs7nnIHEQQdikPRpGwdz5iu oDRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=m063HSmj; dkim=neutral (no key) header.i=@suse.de header.b=3vxEADTu; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p6-20020a170902eac600b001b04dd66179si1625348pld.274.2023.05.29.23.58.57; Mon, 29 May 2023 23:59:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=m063HSmj; dkim=neutral (no key) header.i=@suse.de header.b=3vxEADTu; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbjE3G5m (ORCPT + 99 others); Tue, 30 May 2023 02:57:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbjE3G5l (ORCPT ); Tue, 30 May 2023 02:57:41 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65BCD103; Mon, 29 May 2023 23:57:38 -0700 (PDT) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 02EEF1F8B9; Tue, 30 May 2023 06:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1685429857; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wWXYP+41GoV2YheaoKz5SXvxdufsZAJ/DkvO+3vgn0U=; b=m063HSmjZlYQyX7lM1ruPLYTf/tOrH3WvPXahoRopER2rEWY3kfxxMNznuBLQAiuXYq1qy iYTlJZjw1jb+Xw1oDFBfWUc5LP9orvsh82ZZkE5JHC8safHEf1g1ZixH/FaexFseFNkPeq sGQk42YsKJmrLhxWj3afVaq3x3tNIEk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1685429857; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wWXYP+41GoV2YheaoKz5SXvxdufsZAJ/DkvO+3vgn0U=; b=3vxEADTuEEuEE+nkeH+6ER8V1ObQzv/+xqNPnL8zCuXcVbdcMnPxgVPehS0w8EyUL4XGyO 0kVPmBtKWCkb2+Bg== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 5C1711341B; Tue, 30 May 2023 06:57:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id 2Vv+EWCedWQkcgAAGKfGzw (envelope-from ); Tue, 30 May 2023 06:57:36 +0000 Message-ID: Date: Tue, 30 May 2023 08:57:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 03/11] filemap: update ki_pos in generic_perform_write Content-Language: en-US To: Christoph Hellwig , Matthew Wilcox Cc: Jens Axboe , Xiubo Li , Ilya Dryomov , Alexander Viro , Christian Brauner , Theodore Ts'o , Jaegeuk Kim , Chao Yu , Miklos Szeredi , Andreas Gruenbacher , "Darrick J. Wong" , Trond Myklebust , Anna Schumaker , Damien Le Moal , Andrew Morton , linux-block@vger.kernel.org, ceph-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org References: <20230524063810.1595778-1-hch@lst.de> <20230524063810.1595778-4-hch@lst.de> From: Hannes Reinecke In-Reply-To: <20230524063810.1595778-4-hch@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 5/24/23 08:38, Christoph Hellwig wrote: > All callers of generic_perform_write need to updated ki_pos, move it into > common code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Xiubo Li > Reviewed-by: Damien Le Moal > Acked-by: Darrick J. Wong > --- > fs/ceph/file.c | 2 -- > fs/ext4/file.c | 9 +++------ > fs/f2fs/file.c | 1 - > fs/nfs/file.c | 1 - > mm/filemap.c | 8 ++++---- > 5 files changed, 7 insertions(+), 14 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman