get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2230981/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2230981,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230981/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ide/patch/20260430092947.128647-1-marco.crivellari@suse.com/",
    "project": {
        "id": 13,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/13/?format=api",
        "name": "Linux IDE development",
        "link_name": "linux-ide",
        "list_id": "linux-ide.vger.kernel.org",
        "list_email": "linux-ide@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260430092947.128647-1-marco.crivellari@suse.com>",
    "date": "2026-04-30T09:29:47",
    "name": "[RFC] ata: libata-scsi: Move long delayed work on system_dfl_long_wq",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6891e05a588977b9a92bac330a25707a532dda21",
    "submitter": {
        "id": 89671,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/89671/?format=api",
        "name": "Marco Crivellari",
        "email": "marco.crivellari@suse.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ide/patch/20260430092947.128647-1-marco.crivellari@suse.com/mbox/",
    "series": [
        {
            "id": 502253,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502253/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ide/list/?series=502253",
            "date": "2026-04-30T09:29:47",
            "name": "[RFC] ata: libata-scsi: Move long delayed work on system_dfl_long_wq",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502253/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230981/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230981/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-ide+bounces-5581-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-ide@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=CgJnBKEf;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ide+bounces-5581-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com\n header.b=\"CgJnBKEf\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.221.52",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=suse.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=suse.com"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 legolas.ozlabs.org (Postfix) with ESMTPS id 4g5pmW4WrLz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 19:30:03 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 0D992300B444\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 09:30:02 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 029433A0EB8;\n\tThu, 30 Apr 2026 09:30:00 +0000 (UTC)",
            "from mail-wr1-f52.google.com (mail-wr1-f52.google.com\n [209.85.221.52])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 991133939AC\n\tfor <linux-ide@vger.kernel.org>; Thu, 30 Apr 2026 09:29:56 +0000 (UTC)",
            "by mail-wr1-f52.google.com with SMTP id\n ffacd0b85a97d-448528f4e69so423833f8f.3\n        for <linux-ide@vger.kernel.org>; Thu, 30 Apr 2026 02:29:56 -0700 (PDT)",
            "from localhost.localdomain\n ([2a00:6d43:105:c401:e307:1a37:2e76:ce91])\n        by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-447b76e5bf2sm12318654f8f.27.2026.04.30.02.29.53\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 30 Apr 2026 02:29:54 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777541399; cv=none;\n b=sL3FsmNxqxrEHWg71fE65ay6QGHyqd4H6+XecIvOSw+8Q0VVRbVLTr9Vh6HhmNQrGKa7biTmcV7JvNjtte3DZk0FuA38kJoCw4JTxGidXOZ2p48aGSb1iey9AsOF1RoNhl2h+yfTH2ryK36wTTl3eKT4tNmL/V6EcwUNCX3WejI=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777541399; c=relaxed/simple;\n\tbh=n1Q30ixYOtqZ55oYud2pMjhUZtd6AeiJEslV7LVNqRM=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=a6XBGMxFWvPkin2KalirJUduM3++95WNetrP9ZNZ6xFytNPSUiOOJujllcJ5J5YP1x6NSWfhXBW+A69ed5YfYWpUJwJC851qwY11dmOeg9bAJpic2sirZPvdIA/DJ2/574fYJl+0rj7Rvnoq1e6/s6dJnusfrlT5DooS2FhZYMs=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=suse.com;\n spf=pass smtp.mailfrom=suse.com;\n dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com\n header.b=CgJnBKEf; arc=none smtp.client-ip=209.85.221.52",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=suse.com; s=google; t=1777541394; x=1778146194;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=old5jyYu22W6jYV0qg4x4mp+/GqT2/HXZ0E6OdCIxiw=;\n        b=CgJnBKEfSiuhdvUIVBjGJZKvm3B6sEvJUi6R+xCwdZuIzkl8p0nqG8NjJ6gyPlKDG5\n         c2f+YlPwxSWbdKHAIyNOvskIyXjjXb8sta4fRTwtGlkTxOU0h4YcCEtpY4RkdjRjbtSJ\n         uDurdfYnQUn/EHbJsKMfjcDR+y+ntzfbeCV2/TyBzpQevhedqiawC5CuDH3fjnASnN6F\n         7dpBV8xqhsrzVijXVI+lYMBy7/HE+Q+Vg6bmo5sfy0g40k6oULuEfiwoZfQ3agv2NMyC\n         ecyngnTbkBwaS93/4NezeeUnY3TReFRasuQAjQcHD3/cGxauzdxkCu2ee2XU3RD7fSNf\n         1hvw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777541394; x=1778146194;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=old5jyYu22W6jYV0qg4x4mp+/GqT2/HXZ0E6OdCIxiw=;\n        b=OlfGjYWf9UmtyNyadYHkkB4zgQdRip2FS9sfMdMiCBk85MmkN4bSKGRaJkTY0F+DG1\n         JYGTktOIYk9KGUQNsx7hVvcijcBsvO4G5Obg/Xvw7kfibUVTdg9x4p5kvayoEpNmC20B\n         Ll8Kg7+ZQ1JOoU9HS9ikBn9jN7lwwkNVjmouSGSk5dUuZLs4wyRfEtr1HnAVueRkV3f6\n         R2urwdBtN5D1A8lp5JRj1sbcizLZrnuaA211JegDojlGJ00toNoW9TvOpslVvZOMZGcm\n         5sPJb6JlT+tpl2GmEGZvHosXMvTlFn6VS+0bCmM08A69HgnZNPJCtGdRFtNAaGuTHL3H\n         +xVg==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ906lhlP+OS8Iu00qDFo7aKw1MMvaTeksgVVFQOfAieLF6EuRgxHSHcjcRpX1Htca33rDMwtCbA5q8=@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0Yyx0L+vshG3OilaAXfBwM4TKV+rz57xfiJ8slGsys5gMpU78WbN\n\txbvp/UuIBIyRNOa7SljLRGV90GSmtfPupjiY8iXJFc3n9sqBASIJqhFas0SnKDNZFYk=",
        "X-Gm-Gg": "AeBDietCemXgtla8zxtnlxLWGgA5iSZlJqicUNHovBQlP13mGIvIO2ri+qoOT2HuhxG\n\tBNGY8PWeac6q59MacO8w9wxe8BzKsrAK8Fq0HiUJnjVSx0RfIspkFFpnaSEgoYu6+uQarh7/weT\n\tDF5pwMBfFaTOs7wH/TwX13bcKu8YuYiLQ0+IT4UWHOvQcqRd7tMYbXo0DR6fOCvZmyXedOU0Ct7\n\t3gQdLJsuR3/T3236mqGDyXAyC4X5GexvBtUPpWpHHRfvuTKd0OXzH3J6ZO5wLV7kszd8X9RrYJy\n\tpN1IvRKBnLJUBEH/5x7p/5HnuhVTrAHWkZk8QdpOVQ+ZxY9gMvCXjsCqaY0msikkXoRjt/On/Jn\n\tzoIbXTZa+yHRzr8z3ARucp7U68qmK9LyOAS5DZUf6bBSSjb2+/lFshuFgUMeMVxH0y/TJKU30l9\n\t3r/7CEeZIsNtomRDP3CrdVKiGnfzEB1g+qZ+7ieGlNw7IeHHmpTSqB/bCQn9GjIgT9XeSE",
        "X-Received": "by 2002:a5d:5d05:0:b0:43d:76ec:91f6 with SMTP id\n ffacd0b85a97d-4493ee4c9bfmr3226097f8f.41.1777541394306;\n        Thu, 30 Apr 2026 02:29:54 -0700 (PDT)",
        "From": "Marco Crivellari <marco.crivellari@suse.com>",
        "To": "linux-kernel@vger.kernel.org,\n\tlinux-ide@vger.kernel.org",
        "Cc": "Tejun Heo <tj@kernel.org>,\n\tLai Jiangshan <jiangshanlai@gmail.com>,\n\tFrederic Weisbecker <frederic@kernel.org>,\n\tSebastian Andrzej Siewior <bigeasy@linutronix.de>,\n\tMarco Crivellari <marco.crivellari@suse.com>,\n\tMichal Hocko <mhocko@suse.com>,\n\tDamien Le Moal <dlemoal@kernel.org>,\n\tNiklas Cassel <cassel@kernel.org>",
        "Subject": "[RFC PATCH] ata: libata-scsi: Move long delayed work on\n system_dfl_long_wq",
        "Date": "Thu, 30 Apr 2026 11:29:47 +0200",
        "Message-ID": "<20260430092947.128647-1-marco.crivellari@suse.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-ide@vger.kernel.org",
        "List-Id": "<linux-ide.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-ide+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-ide+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Currently the code enqueue work items using {queue|mod}_delayed_work(),\nusing system_long_wq. This workqueue should be used when long works are\nexpected, but it is a per-cpu workqueue.\n\nThis is important because queue_delayed_work() queue the work using:\n\n   queue_delayed_work_on(WORK_CPU_UNBOUND, ...);\n\nNote that WORK_CPU_UNBOUND = NR_CPUS.\n\nThis would end up calling __queue_delayed_work() that does:\n\n    if (housekeeping_enabled(HK_TYPE_TIMER)) {\n    //      [....]\n    } else {\n            if (likely(cpu == WORK_CPU_UNBOUND))\n                    add_timer_global(timer);\n            else\n                    add_timer_on(timer, cpu);\n    }\n\nSo when cpu == WORK_CPU_UNBOUND the timer is global and is\nnot using a specific CPU. Later, when __queue_work() is called:\n\n    if (req_cpu == WORK_CPU_UNBOUND) {\n            if (wq->flags & WQ_UNBOUND)\n                    cpu = wq_select_unbound_cpu(raw_smp_processor_id());\n            else\n                    cpu = raw_smp_processor_id();\n    }\n\nBecause the wq is not unbound, it takes the CPU where the timer\nfired and enqueue the work on that CPU.\nThe consequence of all of this is that the work can run anywhere,\ndepending on where the timer fired.\n\nRecently, a new unbound workqueue specific for long running work has\nbeen added:\n\n    c116737e972e (\"workqueue: Add system_dfl_long_wq for long unbound works\")\n\nSo change system_long_wq with system_dfl_long_wq so that the work may\nbenefit from scheduler task placement.\n\nSigned-off-by: Marco Crivellari <marco.crivellari@suse.com>\n---\n drivers/ata/libata-scsi.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c\nindex f44612e269a4..6733f2b14521 100644\n--- a/drivers/ata/libata-scsi.c\n+++ b/drivers/ata/libata-scsi.c\n@@ -4753,7 +4753,7 @@ void ata_scsi_scan_host(struct ata_port *ap, int sync)\n \t\t\t     \"WARNING: synchronous SCSI scan failed without making any progress, switching to async\\n\");\n \t}\n \n-\tqueue_delayed_work(system_long_wq, &ap->hotplug_task,\n+\tqueue_delayed_work(system_dfl_long_wq, &ap->hotplug_task,\n \t\t\t   round_jiffies_relative(HZ));\n }\n \n",
    "prefixes": [
        "RFC"
    ]
}