Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1902588/?format=api
{ "id": 1902588, "url": "http://patchwork.ozlabs.org/api/patches/1902588/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20240222072417.3773131-4-hch@lst.de/", "project": { "id": 60, "url": "http://patchwork.ozlabs.org/api/projects/60/?format=api", "name": "User-mode Linux Development", "link_name": "linux-um", "list_id": "linux-um.lists.infradead.org", "list_email": "linux-um@lists.infradead.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20240222072417.3773131-4-hch@lst.de>", "list_archive_url": null, "date": "2024-02-22T07:24:13", "name": "[3/7] ubd: move setting the nonrot flag to ubd_add", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "9458945ba18a7a45c7a914081b05b0a3b8c4ed0d", "submitter": { "id": 82, "url": "http://patchwork.ozlabs.org/api/people/82/?format=api", "name": "Christoph Hellwig", "email": "hch@lst.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/20240222072417.3773131-4-hch@lst.de/mbox/", "series": [ { "id": 396078, "url": "http://patchwork.ozlabs.org/api/series/396078/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=396078", "date": "2024-02-22T07:24:13", "name": "[1/7] ubd: remove the ubd_gendisk array", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/396078/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1902588/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1902588/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Q9337AgZ;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4TgPm115Ykz23hc\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 22 Feb 2024 18:24:29 +1100 (AEDT)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux))\n\tid 1rd3RT-00000003nev-2ryt;\n\tThu, 22 Feb 2024 07:24:27 +0000", "from [2001:4bb8:19a:62b2:c70:4a89:bc61:3] (helo=localhost)\n\tby bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux))\n\tid 1rd3RS-00000003ndp-3S4s;\n\tThu, 22 Feb 2024 07:24:27 +0000" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help\n\t:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding:\n\tMIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:\n\tReply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\tbh=2BFULQQpf3659ifgG7eJf7nI2YTQWRMkjSUtn4KfBjI=; b=Q9337AgZqjaoUfxlsIO/3zlQJl\n\tk7auwUANNayo+ITkrXt1G7ytHDxLGmbsJH8nzMybnWX7kE8bveupoJS5q71tzAOKe0PuK/QzKl7p+\n\tvFWA9pN5QLX0Z1J+ABCevJw0bSLcY0t7jiYVJvU5DKqyi2oUr2PFsQw3HLMjtfjoKW+51eXyKBpn7\n\tDPTSdW4jSDt8ejQfGWFpUZoBmwpZNLrfbFny8lDmopDVdSlJpTPfv6ttyJxWGOAbHKD36ugvhKqcC\n\trBYSang5sAP1tptqRjNTKLW9ktBf7pBKoL/eLg8SClOenO52/oRkNt6CGRLI2R0OZprcCNu4ONmNM\n\ten0vDs6w==;", "From": "Christoph Hellwig <hch@lst.de>", "To": "Richard Weinberger <richard@nod.at>,\n\tAnton Ivanov <anton.ivanov@cambridgegreys.com>,\n\tJohannes Berg <johannes@sipsolutions.net>,\n\tJens Axboe <axboe@kernel.dk>", "Cc": "linux-um@lists.infradead.org,\n\tlinux-block@vger.kernel.org", "Subject": "[PATCH 3/7] ubd: move setting the nonrot flag to ubd_add", "Date": "Thu, 22 Feb 2024 08:24:13 +0100", "Message-Id": "<20240222072417.3773131-4-hch@lst.de>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20240222072417.3773131-1-hch@lst.de>", "References": "<20240222072417.3773131-1-hch@lst.de>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "linux-um@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "<linux-um.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-um/>", "List-Post": "<mailto:linux-um@lists.infradead.org>", "List-Help": "<mailto:linux-um-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=subscribe>", "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>", "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "No reason to delay this until open time.\n\nSigned-off-by: Christoph Hellwig <hch@lst.de>\n---\n arch/um/drivers/ubd_kern.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c\nindex ef05157acd6b02..9dcf41f7d49606 100644\n--- a/arch/um/drivers/ubd_kern.c\n+++ b/arch/um/drivers/ubd_kern.c\n@@ -799,7 +799,6 @@ static int ubd_open_dev(struct ubd *ubd_dev)\n \t\tblk_queue_max_discard_sectors(ubd_dev->queue, UBD_MAX_REQUEST);\n \t\tblk_queue_max_write_zeroes_sectors(ubd_dev->queue, UBD_MAX_REQUEST);\n \t}\n-\tblk_queue_flag_set(QUEUE_FLAG_NONROT, ubd_dev->queue);\n \treturn 0;\n error:\n \tos_close_file(ubd_dev->fd);\n@@ -894,6 +893,7 @@ static int ubd_add(int n, char **error_out)\n \t}\n \tubd_dev->queue = disk->queue;\n \n+\tblk_queue_flag_set(QUEUE_FLAG_NONROT, disk->queue);\n \tblk_queue_write_cache(ubd_dev->queue, true, false);\n \tdisk->major = UBD_MAJOR;\n \tdisk->first_minor = n << UBD_SHIFT;\n", "prefixes": [ "3/7" ] }