Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2225007/?format=api
{ "id": 2225007, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2225007/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260420083705.1009074-6-dhowells@redhat.com/", "project": { "id": 12, "url": "http://patchwork.ozlabs.org/api/1.1/projects/12/?format=api", "name": "Linux CIFS Client", "link_name": "linux-cifs-client", "list_id": "linux-cifs.vger.kernel.org", "list_email": "linux-cifs@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260420083705.1009074-6-dhowells@redhat.com>", "date": "2026-04-20T08:36:56", "name": "[05/11] netfs: Fix partial invalidation of streaming-write folio", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "b2c731b098421a7354e5be87d72645812833ce8e", "submitter": { "id": 59, "url": "http://patchwork.ozlabs.org/api/1.1/people/59/?format=api", "name": "David Howells", "email": "dhowells@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260420083705.1009074-6-dhowells@redhat.com/mbox/", "series": [ { "id": 500568, "url": "http://patchwork.ozlabs.org/api/1.1/series/500568/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=500568", "date": "2026-04-20T08:36:52", "name": "netfs: Further miscellaneous fixes", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500568/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2225007/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2225007/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-cifs+bounces-10928-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-cifs@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=gFDikoa3;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10928-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=\"gFDikoa3\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=170.10.133.124", "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=redhat.com" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzfBl6465z1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 18:42:55 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 1337F307A7A2\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 08:38:11 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id BCE4538B149;\n\tMon, 20 Apr 2026 08:37:47 +0000 (UTC)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 51EAB38B124\n\tfor <linux-cifs@vger.kernel.org>; Mon, 20 Apr 2026 08:37:46 +0000 (UTC)", "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-590-k2Zpn1AXPlyv3OwQPQQxSg-1; Mon,\n 20 Apr 2026 04:37:41 -0400", "from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 0FCDE1956048;\n\tMon, 20 Apr 2026 08:37:40 +0000 (UTC)", "from warthog.procyon.org.com (unknown [10.44.48.17])\n\tby mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 1EC6C1800351;\n\tMon, 20 Apr 2026 08:37:36 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776674267; cv=none;\n b=bt+sh1XUzbCKjQJHK048OLPqpV0obfqO7grShLvA5aPiE3f0vNMw2RoDtdo2D1rAqJkB40v8bZQPtQfdmLLPUyrgd1PwGqSk6BqqA6CTHi3FbDTUIJSfsQbEM2TJaXzF9rVwzmgOP5HJR+fWZIK+fsWaEzAbzXQETUP8C7nW6qk=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776674267; c=relaxed/simple;\n\tbh=pqehrGUvFhKSXNHxOH4q0/fAGSySis+WX/zGELva8lg=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=CdKBC4ktxBAhk6K5n4YtmqY5RfTnWb5wVWQxoAL2zPJuCpT1BD9FSOM9cAErTEEm3d39m1AoIlWZKoUZv6yKku9NNaqyh1q5rybIrwRV+n5QyE1KT0s1kjuKQejbIi2AYmOCagjFwWoF5Pqc2vOcYaGMasvwAQKa55i9jbpbEf8=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com;\n spf=pass smtp.mailfrom=redhat.com;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=gFDikoa3; arc=none smtp.client-ip=170.10.133.124", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1776674265;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=fwIrRp2mzgM5XL791ck6rIOO1IU+DN7HcZOIJ0dzRVg=;\n\tb=gFDikoa3kJeVaSbCnclUJ2jV8dIX1MdE+imZEs2JY2pZycxda3wbZu3SBoY8ObO9x/4L0C\n\tr2YZWbQ0N8jVUA/Qqvb9LoDmJ8FFJif3JvyTbs+ZbNHIf/NvFdZjHmNGMc5yZmqF7F3DDi\n\t2GrQVZ3R01tIEzT9C0TyEEQZb2TANd8=", "X-MC-Unique": "k2Zpn1AXPlyv3OwQPQQxSg-1", "X-Mimecast-MFC-AGG-ID": "k2Zpn1AXPlyv3OwQPQQxSg_1776674260", "From": "David Howells <dhowells@redhat.com>", "To": "Christian Brauner <christian@brauner.io>", "Cc": "David Howells <dhowells@redhat.com>,\n\tPaulo Alcantara <pc@manguebit.org>,\n\tnetfs@lists.linux.dev,\n\tlinux-afs@lists.infradead.org,\n\tlinux-cifs@vger.kernel.org,\n\tceph-devel@vger.kernel.org,\n\tlinux-fsdevel@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tMatthew Wilcox <willy@infradead.org>", "Subject": "[PATCH 05/11] netfs: Fix partial invalidation of streaming-write\n folio", "Date": "Mon, 20 Apr 2026 09:36:56 +0100", "Message-ID": "<20260420083705.1009074-6-dhowells@redhat.com>", "In-Reply-To": "<20260420083705.1009074-1-dhowells@redhat.com>", "References": "<20260420083705.1009074-1-dhowells@redhat.com>", "Precedence": "bulk", "X-Mailing-List": "linux-cifs@vger.kernel.org", "List-Id": "<linux-cifs.vger.kernel.org>", "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.111" }, "content": "In netfs_invalidate_folio(), if the region of a partial invalidation\noverlaps the front (but not all) of a dirty write cached in a streaming\nwrite page (dirty, but not uptodate, with the dirty region tracked by a\nnetfs_folio struct), the function modifies the dirty region - but\nincorrectly as it moves the region forward by setting the start to the\nstart, not the end, of the invalidation region.\n\nFix this by setting finfo->dirty_offset to the end of the invalidation\nregion (iend).\n\nFixes: cce6bfa6ca0e (\"netfs: Fix trimming of streaming-write folios in netfs_inval_folio()\")\nCloses: https://sashiko.dev/#/patchset/20260414082004.3756080-1-dhowells%40redhat.com\nSigned-off-by: David Howells <dhowells@redhat.com>\ncc: Paulo Alcantara <pc@manguebit.org>\ncc: Matthew Wilcox <willy@infradead.org>\ncc: netfs@lists.linux.dev\ncc: linux-fsdevel@vger.kernel.org\n---\n fs/netfs/misc.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/fs/netfs/misc.c b/fs/netfs/misc.c\nindex e386cf31eb1e..8b457124b0e3 100644\n--- a/fs/netfs/misc.c\n+++ b/fs/netfs/misc.c\n@@ -255,7 +255,7 @@ void netfs_invalidate_folio(struct folio *folio, size_t offset, size_t length)\n \t\t\t\tgoto erase_completely;\n \t\t\t/* Move the start of the data. */\n \t\t\tfinfo->dirty_len = fend - iend;\n-\t\t\tfinfo->dirty_offset = offset;\n+\t\t\tfinfo->dirty_offset = iend;\n \t\t\ttrace_netfs_folio(folio, netfs_folio_trace_invalidate_front);\n \t\t\treturn;\n \t\t}\n", "prefixes": [ "05/11" ] }