Show a cover letter.

GET /api/1.1/covers/2228991/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2228991,
    "url": "http://patchwork.ozlabs.org/api/1.1/covers/2228991/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/cover/20260427154639.180684-1-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": "<20260427154639.180684-1-dhowells@redhat.com>",
    "date": "2026-04-27T15:46:15",
    "name": "[v4,00/22] netfs: Miscellaneous fixes",
    "submitter": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/59/?format=api",
        "name": "David Howells",
        "email": "dhowells@redhat.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/cover/20260427154639.180684-1-dhowells@redhat.com/mbox/",
    "series": [
        {
            "id": 501682,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501682/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=501682",
            "date": "2026-04-27T15:46:15",
            "name": "netfs: Miscellaneous fixes",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/501682/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2228991/comments/",
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-11156-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=aQomZLyj;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11156-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=\"aQomZLyj\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=170.10.129.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 sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::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 4g47N76Xn4z1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 01:51:35 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 4099C3010B7E\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 15:46:57 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id AEDD8346766;\n\tMon, 27 Apr 2026 15:46:52 +0000 (UTC)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.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 759D734572F\n\tfor <linux-cifs@vger.kernel.org>; Mon, 27 Apr 2026 15:46:50 +0000 (UTC)",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-671-BU3e3v0bNtKNnF-Q7vCkYg-1; Mon,\n 27 Apr 2026 11:46:46 -0400",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 3E4F21800451;\n\tMon, 27 Apr 2026 15:46:45 +0000 (UTC)",
            "from warthog.procyon.org.com (unknown [10.44.32.126])\n\tby mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 85DCA3000C20;\n\tMon, 27 Apr 2026 15:46:42 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777304812; cv=none;\n b=MT133JvpdfuEXQCLTxT5yF5dEy8bFTM74Q2z3ABVUv9Q7YvoW2gnIOJpCitf/y50313iH0E/Xp0JqFRrFXlQWM4blK3QeHyLSu4E8QfD4Nrd0dJUs3SEzQimIQ3daYaTKM2wScEiRVmIcp0vmJFEQXkE4BT0+EvnqzCCbfcJASY=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777304812; c=relaxed/simple;\n\tbh=9mtHwprel4YUhVJ/yNA5gZtNbxzGa/mm5aEiFdM6BP0=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=aUdUGueFSgpp1TTxoMMlZuFOUPToUNWrB2gYM2hZOE0+kDMudyZkWe8XfSCEANNxj0CMZEDYZzaml5nk2f1zqeU8uD+x1f4vD913lbonprVECQdL2Bf6vUwXviIB+AOkCZxKBCNr00kMQB39troxGMJz5xfRfjsQzUK4EKafZdo=",
        "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=aQomZLyj; arc=none smtp.client-ip=170.10.129.124",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1777304809;\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\tbh=H5+gLZpTVBHNcHgnFm3F1qgIg3WyEfh1s/qCYiLgz64=;\n\tb=aQomZLyjYTi1dpqxLhMIfrgDadx2eRGhUPlL1ihvgwJ/p3awnrwRfc1eFn7pRy6EqZMKSj\n\tEJ0o7G9wuWU47R0a9PhV79RdioTzWODlnOxNm9DX7sjFJqyJzkRseT6wV4Ep6X25FIBn3g\n\tptcckBYjtBzQcZBdBgpVgdL77TsQ/Bw=",
        "X-MC-Unique": "BU3e3v0bNtKNnF-Q7vCkYg-1",
        "X-Mimecast-MFC-AGG-ID": "BU3e3v0bNtKNnF-Q7vCkYg_1777304805",
        "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",
        "Subject": "[PATCH v4 00/22] netfs: Miscellaneous fixes",
        "Date": "Mon, 27 Apr 2026 16:46:15 +0100",
        "Message-ID": "<20260427154639.180684-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.4"
    },
    "content": "Hi Christian,\n\nHere are the outstanding miscellaneous fixes for netfslib gathered together\nand with some fixes-to-fixes folded down and one rearrangement.  Various\nSashiko review comments[1][2][3] are addressed:\n\n (1) Fix subrequest cancellation cleanup in DIO read and single-read.\n\n (2) Fix read and write result collection to use barriering correctly to\n     access a request's subrequest lists without taking a lock.\n\n     This adds list_add_tail_release() and list_first_entry_acquire() to\n     appropriate incorporate barriering into some list functions.\n\n (3) Fix missing locking around retry adding new subrequests.\n\n (4) Fix netfs_read_to_pagecache() to pause on subrequest I/O failure.\n\n (5) Fix the potential for 64-bit tearing on a 32-bit machine when reading\n     netfs_inode->remote_i_size and ->zero_point by using much the same\n     mechanism as is used for ->i_size.\n\n (6) Fix the calculation of zero_point in netfs_release_folio() to limit it\n     to ->remote_i_size, not ->i_size.\n\n (7) Fix triggering of a VM_BUG_ON_FOLIO() in netfs_write_begin().\n\n (8) Fix error handling in netfs_extract_user_iter().\n\n (9) Fix netfs_invalidate_folio() to clear the folio dirty bit if all dirty\n     data removed.\n\n(10) Defer the emission of trace_netfs_folio() in netfs_perform_write().\n     This allows the next patch to emit the correct traces.\n\n(11) Fix the handling of a partially failed copy (ie. EFAULT) into a\n     streaming write folio.  Also remove the netfs_folio if a streaming\n     write folio is entirely overwritten.\n\n(12) Fix netfs_read_gaps() to remove the netfs_folio from a filled folio.\n\n(13) Fix netfs_perform_write() to not disable streaming writes when writing\n     to an fd that's open O_RDWR.\n\n(14) Fix an early put of the sink page used in netfs_read_gaps(), before\n     the request has completed.\n\n(15) Fix request leak in netfs_write_begin() error handling.\n\n(16) Fix a potential UAF in netfs_unlock_abandoned_read_pages() due to\n     trying to check index of each folio we're abandoning to see if that\n     folio is actually owned by the caller (in which case, we're not\n     actually allowed to dereference it).\n\n(17) Fix a potentially uninitialised error value in\n     netfs_extract_user_iter().\n\n(18) Fix incorrect adjustment of dirty region when partially invalidating a\n     streaming write folio.\n\n(19) Fix the handling of folio->private in netfs_perform_write() and the\n     attached netfs_folio and/or group when a streaming write folio is\n     modified.\n\n(20) Fix netfs_read_folio() to wait on writeback first (it holds the folio\n     lock) otherwise we aren't allowed to look at the netfs_folio struct as\n     that could be modified at any time by the writeback collector.\n\n(21) Fix write skipping in dir/symlink writepages.\n\n(22) Fix the locking used by afs_get_link().\n\nThe patches can also be found here:\n\n\thttps://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes\n\nThanks,\nDavid\n\n[1] https://sashiko.dev/#/patchset/20260414082004.3756080-1-dhowells%40redhat.com\n[2] https://sashiko.dev/#/patchset/20260326104544.509518-1-dhowells%40redhat.com\n[3] https://sashiko.dev/#/patchset/20260425125426.3855807-1-dhowells%40redhat.com\n\nChanges\n=======\nver #4)\n- Rebase on v7.0-rc1\n- Fix latest set of Sashiko issues[3].\n  - Move the ->subrequests barriering patch up front as it modifies\n    linux/list.h.\n  - Split that barriering patch and make the first patch to harmonise the\n    order of adding a read subreq to the queue, for buffered, dio and\n    single reads and to fix cancellation on prep failure.  The second patch\n    then fixes the barriering.\n  - Lock ->subrequests in retry when adding in extra subreqs.\n  - Use a spinlock as well when modifying ->zero_point with a seq lock.\n  - Atomically check and change ->zero_point when bumping it up.\n  - Merged the two patches sorting out the locking in afs symlink handling,\n    then fixed a number of issues in them.\n- Added a patch to make afs dir and symlink writepages skip if the\n  validate_lock is held and WB_SYNC_NONE is set.\n\nver #3)\n- Rebase on linus/master.\n- Consolidate the various sets of fixes for reposting.\n- Fold down fixes-to-fixes.\n- Move the tracing change in netfs_perform_write() down to below the patch\n  it primarily affects.\n\nbase-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731\n\nDavid Howells (20):\n  netfs: Fix cancellation of a DIO and single read subrequests\n  netfs: Fix missing barriers when accessing stream->subrequests\n    locklessly\n  netfs: Fix missing locking around retry adding new subreqs\n  netfs: Fix netfs_read_to_pagecache() to pause on subreq failure\n  netfs: Fix potential for tearing in ->remote_i_size and ->zero_point\n  netfs: Fix zeropoint update where i_size > remote_i_size\n  netfs: Fix netfs_invalidate_folio() to clear dirty bit if all changes\n    gone\n  netfs: Defer the emission of trace_netfs_folio()\n  netfs: Fix streaming write being overwritten\n  netfs: Fix read-gaps to remove netfs_folio from filled folio\n  netfs: Fix write streaming disablement if fd open O_RDWR\n  netfs: Fix early put of sink folio in netfs_read_gaps()\n  netfs: Fix leak of request in netfs_write_begin() error handling\n  netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()\n  netfs: Fix potential uninitialised var in netfs_extract_user_iter()\n  netfs: Fix partial invalidation of streaming-write folio\n  netfs: Fix folio->private handling in netfs_perform_write()\n  netfs: Fix netfs_read_folio() to wait on writeback\n  netfs, afs: Fix write skipping in dir/link writepages\n  afs: Fix the locking used by afs_get_link()\n\nPaulo Alcantara (1):\n  netfs: fix error handling in netfs_extract_user_iter()\n\nViacheslav Dubeyko (1):\n  netfs: fix VM_BUG_ON_FOLIO() issue in netfs_write_begin() call\n\n fs/9p/vfs_inode.c            |   2 +-\n fs/9p/vfs_inode_dotl.c       |   4 +-\n fs/afs/Makefile              |   1 +\n fs/afs/dir.c                 |  76 ++++----\n fs/afs/fsclient.c            |   4 +-\n fs/afs/inode.c               | 104 +----------\n fs/afs/internal.h            |  34 +++-\n fs/afs/symlink.c             | 267 +++++++++++++++++++++++++++++\n fs/afs/validation.c          |   8 +-\n fs/afs/write.c               |   2 +-\n fs/afs/yfsclient.c           |   4 +-\n fs/netfs/buffered_read.c     |  64 ++++---\n fs/netfs/buffered_write.c    | 147 ++++++++++------\n fs/netfs/direct_read.c       |  19 +-\n fs/netfs/direct_write.c      |   4 +-\n fs/netfs/internal.h          |   2 +\n fs/netfs/iterator.c          |  15 +-\n fs/netfs/misc.c              |  21 ++-\n fs/netfs/read_collect.c      |   6 +-\n fs/netfs/read_retry.c        |  13 +-\n fs/netfs/read_single.c       |  20 +--\n fs/netfs/write_collect.c     |   7 +-\n fs/netfs/write_issue.c       |   8 +-\n fs/netfs/write_retry.c       |   2 +\n fs/smb/client/cifsfs.c       |  28 +--\n fs/smb/client/cifssmb.c      |   2 +-\n fs/smb/client/file.c         |   9 +-\n fs/smb/client/inode.c        |   9 +-\n fs/smb/client/readdir.c      |   3 +-\n fs/smb/client/smb2ops.c      |  16 +-\n fs/smb/client/smb2pdu.c      |   2 +-\n include/linux/list.h         |  37 ++++\n include/linux/netfs.h        | 324 +++++++++++++++++++++++++++++++++--\n include/trace/events/netfs.h |   8 +\n 34 files changed, 949 insertions(+), 323 deletions(-)\n create mode 100644 fs/afs/symlink.c"
}