)]}'
{
  "commit": "dddb3f8cc3b45e33b9fc015aed2e29cfd4d85aef",
  "tree": "8c52eb51f18410fe65bab77fd19f6730120ddbf9",
  "parents": [
    "e052b16d1b273d17764181013888e427587143b0"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Mon Jan 29 10:30:04 2024 +0000"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Mon Jan 29 10:53:02 2024 +0000"
  },
  "message": "9p: Make better use of netfslib\u0027s writethrough caching\n\nnetfslib offers the opportunity to do a form of writethrough caching on the\npagecache, whereby netfs_perform_write() will set up and dispatch writes to\nthe network as it copies data into the cache, falling back to the ordinary\nwriteback path for the dirty data if this fails.  This is selected if the\nuser sets O_DSYNC, O_SYNC, RWF_DSYNC or RWF_SYNC or if the filesystem sets\nNETFS_ICTX_WRITETHROUGH.\n\nChange v9fs_fid_add_modes() to use this if O_DSYNC is set - and assuming\nthat CACHE_WRITEBACK is set and V9FS_SYNC is not set.\n\n[?] Does it make sense to add an additional caching mode that uses\n    write-through for all non-DIO writes?\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\ncc: Eric Van Hensbergen \u003cericvh@kernel.org\u003e\ncc: Latchesar Ionkov \u003clucho@ionkov.net\u003e\ncc: Dominique Martinet \u003casmadeus@codewreck.org\u003e\ncc: Christian Schoenebeck \u003clinux_oss@crudebyte.com\u003e\ncc: Jeff Layton \u003cjlayton@kernel.org\u003e\ncc: v9fs@lists.linux.dev\ncc: netfs@lists.linux.dev\ncc: linux-fsdevel@vger.kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29281b7c388703d6a6b809823198f37a9405241c",
      "old_mode": 33188,
      "old_path": "fs/9p/fid.h",
      "new_id": "0b25b4c9781d062d9e1da733eea28ef80535095f",
      "new_mode": 33188,
      "new_path": "fs/9p/fid.h"
    }
  ]
}
