Message ID | 20240203071147.862076-3-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 047ABC4828D for <linux-mm@archiver.kernel.org>; Sat, 3 Feb 2024 07:12:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8986B6B0072; Sat, 3 Feb 2024 02:12:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 848CF6B0074; Sat, 3 Feb 2024 02:12:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6C17E6B0075; Sat, 3 Feb 2024 02:12:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 550ED6B0072 for <linux-mm@kvack.org>; Sat, 3 Feb 2024 02:12:12 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 33968A0530 for <linux-mm@kvack.org>; Sat, 3 Feb 2024 07:12:12 +0000 (UTC) X-FDA: 81749623704.14.73BBABE Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf13.hostedemail.com (Postfix) with ESMTP id 8F44520003 for <linux-mm@kvack.org>; Sat, 3 Feb 2024 07:12:10 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=iE2Qy9x6; dmarc=none; spf=none (imf13.hostedemail.com: domain of BATV+a0ed29cff9639d748e7e+7468+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+a0ed29cff9639d748e7e+7468+infradead.org+hch@bombadil.srs.infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1706944330; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Ir6qdgwpiudHSGvIqZf3UZHrrrbsMgA9iIwYL6Ldf0U=; b=IZhR9dXzySNVgxQ+MlKHfvzaabBsGVvO8POogEH2jACPgC8+ZMbX7eW5mudWFI1WJJfo+c NpH6QlPr/xY1+OBIuWgDGTlajfseq8yLK/f9Tbt50F2n4Oye0vHfoBEdVUsgTJohqM6fMp Oh8YTHb/pGASVp6KhG+dmsQPzSvRaqA= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=iE2Qy9x6; dmarc=none; spf=none (imf13.hostedemail.com: domain of BATV+a0ed29cff9639d748e7e+7468+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+a0ed29cff9639d748e7e+7468+infradead.org+hch@bombadil.srs.infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706944330; a=rsa-sha256; cv=none; b=RhbJAt4z1RpVM9IQhO6tq3O+jH0PPsxsFZLbVSH6wtrg+AmOk+HQyxX2emYFFdvFGTHWZO 7IvzfpYIycB2fR5QHn5MtCu63Llcrs1F9a1fLKimJqNrdXWd7Hi9kfJGlQIn3QIl5BcJdn mtXpt/SJ0ob3ZWgNIQT89bV5MX8XCVY= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Ir6qdgwpiudHSGvIqZf3UZHrrrbsMgA9iIwYL6Ldf0U=; b=iE2Qy9x6Sg4y+wDEl3bj4dxn64 gCZM+M5CKCFy/pvjW1p2OkT8q39b+HPLnqpeQFtfQGA7LIQT455VsNCXAFevt/ZFQdlwY6+lV/T08 hi9wUOIqd5dzHOSzIBC2F2C1en3bkkET7N+8OxgSq2ZP6UymsXcY5AHMrDYarIBXr43S1FjEAqJwL tnWLV4DaRWtSn8qD6VOyT5NExzUXn7LolYKSrpLFNKsSD9ZMMwOWlGrlASjgnLrSgjA6/9i6nUia2 SO3m5CYQbkwfuUV+eCZiDRKzYLJuG2c9DuxAxC2a3HR2vl2ucCFG25/X7aUlQeXm0S5RF82fcXR7Y 9YjRd9ow==; Received: from [89.144.222.32] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWAC8-0000000Fjz1-3cgJ; Sat, 03 Feb 2024 07:12:09 +0000 From: Christoph Hellwig <hch@lst.de> To: linux-mm@kvack.org Cc: Matthew Wilcox <willy@infradead.org>, Jan Kara <jack@suse.com>, David Howells <dhowells@redhat.com>, Brian Foster <bfoster@redhat.com>, Christian Brauner <brauner@kernel.org>, "Darrick J. Wong" <djwong@kernel.org>, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara <jack@suse.cz>, Dave Chinner <dchinner@redhat.com> Subject: [PATCH 02/13] writeback: fix done_index when hitting the wbc->nr_to_write Date: Sat, 3 Feb 2024 08:11:36 +0100 Message-Id: <20240203071147.862076-3-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240203071147.862076-1-hch@lst.de> References: <20240203071147.862076-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Rspamd-Queue-Id: 8F44520003 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 4brt6f6chomrmrx98w46d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ZDzAW+UbFDKfgIWLwvGAmdUJ5IkNIrygvizPFA0w+vYbu4YCAQ9yOrGMIZG1YvZX1G80Wuiz5IdyuPFa527e5+SMF6lrGRVkoSSjSO20JGYaHD0dztHvmkD2+Gvr833nFLyuQ+aM38hdzXHcTe7ytMW1buYlhC1/M3kSRyn7tVU8rme2Zssn7QvEF5Dmimi5fGwYByJ6WMmc039ze6lBYcdEQp9bYLeq2dbS+zaPp+3xHwZ+tNTivkf2jvZ7GQcEXAG6xgZNY0m8K9vHoB5uzWc9PNs2RUBveeiX5zQpxPhSYUaj/lZwdcZy2CvwtmxxxRIZ+2RQx/zOt7UH8gB1O9+9cuvdaCT5csRGPbt2EVcT8/481kEYytpZibIRSMP9PnWSMFE7gVqJ0qjaWdehxOpoDC8= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
[01/13] writeback: remove a duplicate prototype for tag_pages_for_writeback
|
expand
|
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 02147b61712bc9..b4d978f77b0b69 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2505,6 +2505,7 @@ int write_cache_pages(struct address_space *mapping, * keep going until we have written all the pages * we tagged for writeback prior to entering this loop. */ + done_index = folio->index + nr; wbc->nr_to_write -= nr; if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) {