)]}'
{
  "commit": "73aa529fdef247bd4f1f98bf355c32c8394ec86f",
  "tree": "750302c21ba4285d189e0e0b3172a5e61154358f",
  "parents": [
    "1033ccf2ffc15bcead4e9da827273fe92b24a5fb"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Wed Mar 01 15:07:06 2023 +0000"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Thu Mar 02 21:38:32 2023 +0000"
  },
  "message": "cifs: Partially revert and use filemap_get_folio_tag()\n\nMirror the changes made to afs to partially revert the changes made by:\n\n    acc8d8588cb7e3e64b0d2fa611dad06574cd67b1.\n    \"afs: convert afs_writepages_region() to use filemap_get_folios_tag()\"\n\nthat were then mirrored into cifs.\n\nThe issue is that filemap_get_folios_tag() gets a batch of pages at a time,\nand then cifs_writepages_region() goes through them one at a time, extends\neach into an operation with as many pages as will fit using the loop in\ncifs_extend_writeback() and submits it - but, in the common case, this\nmeans that the other pages in the batch already got annexed and processed\nin cifs_extend_writeback() and we end up doing duplicate processing.\n\nSwitching to write_cache_pages() isn\u0027t an immediate substitute as that\ndoesn\u0027t take account of PG_fscache (and this bit is used in other ways by\nother filesystems).\n\nSo go back to finding the next folio from the VM one at a time and then\nextending the op onwards.\n\nFixes: 3822a7c40997 (\"Merge tag \u0027mm-stable-2023-02-20-13-37\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm\")\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\ncc: Steve French \u003csfrench@samba.org\u003e\ncc: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\ncc: Shyam Prasad N \u003cnspmangalore@gmail.com\u003e\ncc: Rohith Surabattula \u003crohiths.msft@gmail.com\u003e\ncc: Jeff Layton \u003cjlayton@kernel.org\u003e\ncc: Paulo Alcantara \u003cpc@cjr.nz\u003e\ncc: \"Vishal Moola (Oracle)\" \u003cvishal.moola@gmail.com\u003e\ncc: \"Matthew Wilcox (Oracle)\" \u003cwilly@infradead.org\u003e\ncc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\ncc: linux-cifs@vger.kernel.org\ncc: linux-mm@kvack.org\nLink: https://lore.kernel.org/r/2214157.1677250083@warthog.procyon.org.uk/\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d4a2d82636d2a359f785c41c5efca5ba5aa8504",
      "old_mode": 33188,
      "old_path": "fs/cifs/file.c",
      "new_id": "a3e89e741b4284354b11c89b89f34006904811be",
      "new_mode": 33188,
      "new_path": "fs/cifs/file.c"
    }
  ]
}
