get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808010,
    "url": "http://patchwork.ozlabs.org/api/patches/808010/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20170831040910.25015-1-ross.zwisler@linux.intel.com/",
    "project": {
        "id": 8,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170831040910.25015-1-ross.zwisler@linux.intel.com>",
    "list_archive_url": null,
    "date": "2017-08-31T04:09:10",
    "name": "[fstests,v2] generic: add test for executables on read-only DAX mounts",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "af05fc05e24163da2fc5818530adae812608a218",
    "submitter": {
        "id": 46514,
        "url": "http://patchwork.ozlabs.org/api/people/46514/?format=api",
        "name": "Ross Zwisler",
        "email": "ross.zwisler@linux.intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20170831040910.25015-1-ross.zwisler@linux.intel.com/mbox/",
    "series": [
        {
            "id": 737,
            "url": "http://patchwork.ozlabs.org/api/series/737/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=737",
            "date": "2017-08-31T04:09:10",
            "name": "[fstests,v2] generic: add test for executables on read-only DAX mounts",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/737/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808010/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808010/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-ext4-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-ext4-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjTQj4zqNz9s71\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 31 Aug 2017 14:09:17 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751109AbdHaEJR (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 31 Aug 2017 00:09:17 -0400",
            "from mga04.intel.com ([192.55.52.120]:25966 \"EHLO mga04.intel.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751053AbdHaEJQ (ORCPT <rfc822;linux-ext4@vger.kernel.org>);\n\tThu, 31 Aug 2017 00:09:16 -0400",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 Aug 2017 21:09:15 -0700",
            "from theros.lm.intel.com ([10.232.112.77])\n\tby fmsmga001.fm.intel.com with ESMTP; 30 Aug 2017 21:09:15 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.41,451,1498546800\"; d=\"scan'208\";a=\"1190048043\"",
        "From": "Ross Zwisler <ross.zwisler@linux.intel.com>",
        "To": "fstests@vger.kernel.org, Eryu Guan <eguan@redhat.com>",
        "Cc": "Ross Zwisler <ross.zwisler@linux.intel.com>,\n\tlinux-ext4@vger.kernel.org, linux-nvdimm@lists.01.org,\n\tlinux-fsdevel@vger.kernel.org, Randy Dodgen <rdodgen@gmail.com>,\n\tChristoph Hellwig <hch@infradead.org>, Theodore Ts'o <tytso@mit.edu>",
        "Subject": "[fstests v2] generic: add test for executables on read-only DAX\n\tmounts",
        "Date": "Wed, 30 Aug 2017 22:09:10 -0600",
        "Message-Id": "<20170831040910.25015-1-ross.zwisler@linux.intel.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20170830105930.GE27835@eguan.usersys.redhat.com>",
        "Sender": "linux-ext4-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-ext4.vger.kernel.org>",
        "X-Mailing-List": "linux-ext4@vger.kernel.org"
    },
    "content": "This adds a regression test for the following kernel patch:\n\ncommit 42d4a99b09cb (\"ext4: fix fault handling when mounted with -o dax,ro\")\n\nThe above patch fixes an issue with ext4 where executables cannot be run on\nread-only filesystems mounted with the DAX option.\n\nThis issue does not appear to be present in ext2 or XFS, as they both pass\nthe test.  I've also confirmed outside of the test that they are both\nindeed able to execute binaries on read-only DAX mounts.\n\nThanks to Randy Dodgen for the bug report and reproduction steps.\n\nSigned-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>\nCc: Randy Dodgen <rdodgen@gmail.com>\nCc: Christoph Hellwig <hch@infradead.org>\nCc: Theodore Ts'o <tytso@mit.edu>\n\n---\n\nChanges in v2:\n - A bunch of cleanup and simplifications from Eryu.\n---\n tests/generic/451     | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++\n tests/generic/451.out |  3 +++\n tests/generic/group   |  1 +\n 3 files changed, 77 insertions(+)\n create mode 100755 tests/generic/451\n create mode 100644 tests/generic/451.out",
    "diff": "diff --git a/tests/generic/451 b/tests/generic/451\nnew file mode 100755\nindex 0000000..785c52e\n--- /dev/null\n+++ b/tests/generic/451\n@@ -0,0 +1,73 @@\n+#! /bin/bash\n+# FS QA Test 451\n+#\n+# This is a regression test for kernel patch:\n+#   commit 42d4a99b09cb (\"ext4: fix fault handling when mounted with -o dax,ro\")\n+# created by Ross Zwisler <ross.zwisler@linux.intel.com>\n+#\n+#-----------------------------------------------------------------------\n+# Copyright (c) 2017 Intel Corporation.  All Rights Reserved.\n+#\n+# This program is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License as\n+# published by the Free Software Foundation.\n+#\n+# This program is distributed in the hope that it would be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program; if not, write the Free Software Foundation,\n+# Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n+#-----------------------------------------------------------------------\n+#\n+\n+seq=`basename $0`\n+seqres=$RESULT_DIR/$seq\n+echo \"QA output created by $seq\"\n+\n+here=`pwd`\n+tmp=/tmp/$$\n+status=1\t# failure is the default!\n+trap \"_cleanup; exit \\$status\" 0 1 2 3 15\n+\n+_cleanup()\n+{\n+\tcd /\n+\trm -f $tmp.*\n+}\n+\n+# get standard environment, filters and checks\n+. ./common/rc\n+. ./common/filter\n+\n+# remove previous $seqres.full before test\n+rm -f $seqres.full\n+\n+# Modify as appropriate.\n+_supported_fs generic\n+_supported_os Linux\n+_require_scratch\n+\n+# we need to be able to execute binaries on scratch\n+_exclude_scratch_mount_option \"noexec\"\n+\n+# real QA test starts here\n+# format and mount\n+_scratch_mkfs > $seqres.full 2>&1\n+_scratch_mount >> $seqres.full 2>&1\n+\n+LS=$(which ls --skip-alias --skip-functions)\n+SCRATCH_LS=$SCRATCH_MNT/ls_on_scratch\n+cp $LS $SCRATCH_LS\n+\n+$SCRATCH_LS $SCRATCH_LS | _filter_scratch\n+\n+_scratch_remount ro\n+\n+$SCRATCH_LS $SCRATCH_LS | _filter_scratch\n+\n+# success, all done\n+status=0\n+exit\ndiff --git a/tests/generic/451.out b/tests/generic/451.out\nnew file mode 100644\nindex 0000000..70e3126\n--- /dev/null\n+++ b/tests/generic/451.out\n@@ -0,0 +1,3 @@\n+QA output created by 451\n+SCRATCH_MNT/ls_on_scratch\n+SCRATCH_MNT/ls_on_scratch\ndiff --git a/tests/generic/group b/tests/generic/group\nindex 044ec3f..45f5789 100644\n--- a/tests/generic/group\n+++ b/tests/generic/group\n@@ -453,3 +453,4 @@\n 448 auto quick rw\n 449 auto quick acl enospc\n 450 auto quick rw\n+451 auto quick\n",
    "prefixes": [
        "fstests",
        "v2"
    ]
}