Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2230332/?format=api
{ "id": 2230332, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230332/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747214291.4107228.16597858897977604442.stgit@frogsfrogsfrogs/", "project": { "id": 8, "url": "http://patchwork.ozlabs.org/api/1.1/projects/8/?format=api", "name": "Linux ext4 filesystem development", "link_name": "linux-ext4", "list_id": "linux-ext4.vger.kernel.org", "list_email": "linux-ext4@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<177747214291.4107228.16597858897977604442.stgit@frogsfrogsfrogs>", "date": "2026-04-29T14:52:06", "name": "[3/5] libext2fs: allow unix_write_byte when the write would be aligned", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "54bf2e5baf60e74a41c7d3b1c52051a8fab331ad", "submitter": { "id": 77032, "url": "http://patchwork.ozlabs.org/api/1.1/people/77032/?format=api", "name": "Darrick J. Wong", "email": "djwong@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/177747214291.4107228.16597858897977604442.stgit@frogsfrogsfrogs/mbox/", "series": [ { "id": 502086, "url": "http://patchwork.ozlabs.org/api/1.1/series/502086/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=502086", "date": "2026-04-29T14:51:35", "name": "[1/5] libext2fs: invalidate cached blocks when freeing them", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502086/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2230332/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230332/checks/", "tags": {}, "headers": { "Return-Path": "\n <SRS0=1p/m=C4=vger.kernel.org=linux-ext4+bounces-16187-patchwork-incoming=ozlabs.org@ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-ext4@vger.kernel.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "patchwork-incoming@ozlabs.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=nIuh+4oj;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org;\n envelope-from=srs0=1p/m=c4=vger.kernel.org=linux-ext4+bounces-16187-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c15:e001:75::12fc:5321\"\n arc.chain=subspace.kernel.org", "gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org", "gandalf.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=nIuh+4oj;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16187-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"nIuh+4oj\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\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 4g5LDH2KP4z1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:03:59 +1000 (AEST)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5LDH1rDVz4wHs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:03:59 +1000 (AEST)", "by gandalf.ozlabs.org (Postfix)\n\tid 4g5LDH1lCHz4wM1; Thu, 30 Apr 2026 01:03:59 +1000 (AEST)", "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::12fc:5321])\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 gandalf.ozlabs.org (Postfix) with ESMTPS id 4g5LD81qxbz4wHs\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 01:03:52 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 20650302BED8\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 14:52:11 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id D3B6131ED80;\n\tWed, 29 Apr 2026 14:52:07 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\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 901562FD1B3;\n\tWed, 29 Apr 2026 14:52:07 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 1D65EC19425;\n\tWed, 29 Apr 2026 14:52:07 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777475039; cv=pass;\n\tb=hojTABEHZ+bTqt4EIymSQzT1RXa6BiW+2UL8GFf2GK5mMZeIMaVjrZWeiLxYPxaKxIgc5R6FC11Tzk+urrtRTceIHfXjifU18c6DFFy1Pxg67ofCZxEe2G3X3LtTMOiR92piBiTcGK6r9dLJRXgts6rXJ10tx7v7FJuLzgu74yq3o3UOObaItq3qzKzDP8QiKoepgDsXQmynEsjStf3nDrbkViW8v7DLhjLKYVv9Gh7j0XDRYQCAL+6hyl8gCpaLI41+9GxS5merg3P9Fiaezay2dJKBEPgCe/bgwk/2kKhoiPV4HFLlGJCzoAubAD6cj6elGzhT1hR5ZgMfiSMZ+Q==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777474327; cv=none;\n b=HWlCu0CPvQsK2TWs8/cdwY9sNkR2trjjUTP43Hab52h9VD58xnXqS81Ux5gAtTk2xwcvn1hxUgulf2KpSwXlrcaMRc+FflWOGIe5R7XdERzfMHXg3gAL6LmDYnhY8ed8NncmdS6XFMNTcHh+SzBPA1roxjlb6wXZ1iP6KO8HW5Q=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777475039; c=relaxed/relaxed;\n\tbh=KxHGYz4lQjEbe1aXhpA93BFnyaKOiv67zgCmJFtsbZw=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=hW91nMxo2NvkdlY+RHtJGyUwjssinVmjgh4cF9XH+J8PDoXjL2QXGDQo+XvMyfJVQI8sY4zcHwsKiON0obF79lgqE0Mie6Y0g42BJ+8WzTyaslji73xvkBvmOuDM8yvG7c+G0GzWlGZTMvPMSYGWBg2a5v/VMsSgvcWfHTGMb9JPvBAYAxHuX8Dn9WnZmLRCHS3AXNiznsZ8SLhCcQdhzdMYd9TkOX86kCsAGcaW9LIL+65Q0rmgPUjLSRjl2QbxJrVohYvGisCfvGVkqmxRYEhn1O8r/9bgO3iy9KbbPi33YuiYNY3ZjiJOXFrJvqjkykso+gYStoTITA4PnMQhjw==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777474327; c=relaxed/simple;\n\tbh=1KARdzxxUJrI+FpDwGK2VOzeQ2Aa7m0wLpL5KCa75xo=;\n\th=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=QkQckknsSnCY5PUPNWcQYRbbLYD9ZgTUFaHLwuUzmZm2NfKq5c+KykKupVudPfuaV5/HzRCzoOEDrqqpd/U7rGeOLyKl4gKG2AhsRuBWvCG9bpwQFgPXZKEkRKgB27Z5dj7miom2MS0y4QSFLRproe+rmJKDzYFvLzi+WcwcNQs=" ], "ARC-Authentication-Results": [ "i=2; gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=nIuh+4oj; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16187-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org", "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=nIuh+4oj; arc=none smtp.client-ip=10.30.226.201" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777474327;\n\tbh=1KARdzxxUJrI+FpDwGK2VOzeQ2Aa7m0wLpL5KCa75xo=;\n\th=Date:Subject:From:To:Cc:In-Reply-To:References:From;\n\tb=nIuh+4ojYM3YuYl5TguGO+REt7UZcaqIR7PFAR/P8vQiavoIlsIJEUCjeCxr0BSBK\n\t vv9lA/CGErxPMeLUxLRkdXy9YENH0GtjBAw5bycjnQNaJB0J8ukdO6YlqUjLRg92wi\n\t guW4cZ9fK1kthJBnnZKxLYYC+bXZd5DSOEd/WVI3Cb9YncaCs1HXO3mRRjz37q98Zq\n\t OLlzJHQA6nc+Jyn5bSEESlFSDfXDNoIL7vqPHlYH2Xt/axw9wHD5bdRmMTgx6IkPT4\n\t EpuBLqMvl5hT3CJToms+WdSaA7w84ReAvuTHxIVZJoetvWK0frLPy7Q5iZQ0CBR2a7\n\t 4eKD/1kypQQ1g==", "Date": "Wed, 29 Apr 2026 07:52:06 -0700", "Subject": "[PATCH 3/5] libext2fs: allow unix_write_byte when the write would be\n aligned", "From": "\"Darrick J. Wong\" <djwong@kernel.org>", "To": "tytso@mit.edu", "Cc": "bernd@bsbernd.com, miklos@szeredi.hu, linux-ext4@vger.kernel.org,\n neal@gompa.dev, linux-fsdevel@vger.kernel.org, fuse-devel@lists.linux.dev,\n joannelkoong@gmail.com", "Message-ID": "<177747214291.4107228.16597858897977604442.stgit@frogsfrogsfrogs>", "In-Reply-To": "<177747214224.4107228.16300103064218258692.stgit@frogsfrogsfrogs>", "References": "<177747214224.4107228.16300103064218258692.stgit@frogsfrogsfrogs>", "Precedence": "bulk", "X-Mailing-List": "linux-ext4@vger.kernel.org", "List-Id": "<linux-ext4.vger.kernel.org>", "List-Subscribe": "<mailto:linux-ext4+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-ext4+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "X-Spam-Status": "No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,\n\tMAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org" }, "content": "From: Darrick J. Wong <djwong@kernel.org>\n\nIf someone calls write_byte on an IO channel with an alignment\nrequirement and the range to be written is aligned correctly, go ahead\nand do the write. This will be needed later when we try to speed up\nsuperblock writes.\n\nSigned-off-by: \"Darrick J. Wong\" <djwong@kernel.org>\n---\n lib/ext2fs/unix_io.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c\nindex 35c42c35f735a3..ea8ee56b7d5163 100644\n--- a/lib/ext2fs/unix_io.c\n+++ b/lib/ext2fs/unix_io.c\n@@ -1599,7 +1599,9 @@ static errcode_t unix_write_byte(io_channel channel, unsigned long offset,\n #ifdef ALIGN_DEBUG\n \t\tprintf(\"unix_write_byte: O_DIRECT fallback\\n\");\n #endif\n-\t\treturn EXT2_ET_UNIMPLEMENTED;\n+\t\tif (!IS_ALIGNED(data->offset + offset, channel->align) ||\n+\t\t !IS_ALIGNED(data->offset + offset + size, channel->align))\n+\t\t\treturn EXT2_ET_UNIMPLEMENTED;\n \t}\n \n #ifndef NO_IO_CACHE\n", "prefixes": [ "3/5" ] }