)]}'
{
  "commit": "402cb8dda949d9b8c0df20ad2527d139faad7ca1",
  "tree": "83cdb77f5490a0990eade886aa7f8dd087864996",
  "parents": [
    "08c2e3d087840cd1e7141b62d92f3dc897147984"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Wed Apr 04 13:41:28 2018 +0100"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Wed Apr 04 13:41:28 2018 +0100"
  },
  "message": "fscache: Attach the index key and aux data to the cookie\n\nAttach copies of the index key and auxiliary data to the fscache cookie so\nthat:\n\n (1) The callbacks to the netfs for this stuff can be eliminated.  This\n     can simplify things in the cache as the information is still\n     available, even after the cache has relinquished the cookie.\n\n (2) Simplifies the locking requirements of accessing the information as we\n     don\u0027t have to worry about the netfs object going away on us.\n\n (3) The cache can do lazy updating of the coherency information on disk.\n     As long as the cache is flushed before reboot/poweroff, there\u0027s no\n     need to update the coherency info on disk every time it changes.\n\n (4) Cookies can be hashed or put in a tree as the index key is easily\n     available.  This allows:\n\n     (a) Checks for duplicate cookies can be made at the top fscache layer\n     \t rather than down in the bowels of the cache backend.\n\n     (b) Caching can be added to a netfs object that has a cookie if the\n     \t cache is brought online after the netfs object is allocated.\n\nA certain amount of space is made in the cookie for inline copies of the\ndata, but if it won\u0027t fit there, extra memory will be allocated for it.\n\nThe downside of this is that live cache operation requires more memory.\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\nAcked-by: Anna Schumaker \u003canna.schumaker@netapp.com\u003e\nTested-by: Steve Dickson \u003csteved@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0eb31de3a2c1a7679855577f8e92e730ead9005e",
      "old_mode": 33188,
      "old_path": "Documentation/filesystems/caching/netfs-api.txt",
      "new_id": "332840ad41517fae04db4c6aff6b54d492286759",
      "new_mode": 33188,
      "new_path": "Documentation/filesystems/caching/netfs-api.txt"
    },
    {
      "type": "modify",
      "old_id": "64c58eb26159324245a7581a67bfe5a5afd9f552",
      "old_mode": 33188,
      "old_path": "fs/9p/cache.c",
      "new_id": "9d0030af56728c79185288a966b81e6cdfb1f4c9",
      "new_mode": 33188,
      "new_path": "fs/9p/cache.c"
    },
    {
      "type": "modify",
      "old_id": "cd857db9b112e2f5f4782ab20ad5e704b6d0fe01",
      "old_mode": 33188,
      "old_path": "fs/afs/cache.c",
      "new_id": "a16f1e024cf305ccb82c31396bd64822c1859ea2",
      "new_mode": 33188,
      "new_path": "fs/afs/cache.c"
    },
    {
      "type": "modify",
      "old_id": "3d2c5e0e854e909cbaaceb3c79f1abd0d06cee8d",
      "old_mode": 33188,
      "old_path": "fs/afs/cell.c",
      "new_id": "0747460221cb1c281c1f9049c9d8c46bbbb1711e",
      "new_mode": 33188,
      "new_path": "fs/afs/cell.c"
    },
    {
      "type": "modify",
      "old_id": "c942c79fc5f086cc095e542381bc38f31cae4fc5",
      "old_mode": 33188,
      "old_path": "fs/afs/inode.c",
      "new_id": "e499713efd2e4688f451777c9848e44dedf50341",
      "new_mode": 33188,
      "new_path": "fs/afs/inode.c"
    },
    {
      "type": "modify",
      "old_id": "72217170b155f90302a9a4badc74e0eb3911cfc4",
      "old_mode": 33188,
      "old_path": "fs/afs/internal.h",
      "new_id": "a6a1d75eee4148f95966d9a8c4d9b7b9b207582b",
      "new_mode": 33188,
      "new_path": "fs/afs/internal.h"
    },
    {
      "type": "modify",
      "old_id": "b517a588781fe28657cd5d23eb6fd79e31cf0ea1",
      "old_mode": 33188,
      "old_path": "fs/afs/volume.c",
      "new_id": "345cb2d675d2273f1549e735251f22745529811a",
      "new_mode": 33188,
      "new_path": "fs/afs/volume.c"
    },
    {
      "type": "modify",
      "old_id": "405ebc3932c288d68e698daa36dfb985e574ae42",
      "old_mode": 33188,
      "old_path": "fs/cachefiles/interface.c",
      "new_id": "3264dcfdc92aaabc897037a85baedfd82c966fbc",
      "new_mode": 33188,
      "new_path": "fs/cachefiles/interface.c"
    },
    {
      "type": "modify",
      "old_id": "5fc214256316185469cc4fdab4125a875eaa243c",
      "old_mode": 33188,
      "old_path": "fs/cachefiles/namei.c",
      "new_id": "0daa1e3fe0df837e3cbbade70184287aa129c294",
      "new_mode": 33188,
      "new_path": "fs/cachefiles/namei.c"
    },
    {
      "type": "modify",
      "old_id": "d31c1a72d8a5ba90255ff7537a824b9c8036b749",
      "old_mode": 33188,
      "old_path": "fs/cachefiles/xattr.c",
      "new_id": "d84423c264af677eb933d7e57a709dd2b3026671",
      "new_mode": 33188,
      "new_path": "fs/cachefiles/xattr.c"
    },
    {
      "type": "modify",
      "old_id": "a3ab265d3215ae20bfab1d97fa89756512e6161e",
      "old_mode": 33188,
      "old_path": "fs/ceph/cache.c",
      "new_id": "fee869061f05407ea24c5be226e9da9227d967d9",
      "new_mode": 33188,
      "new_path": "fs/ceph/cache.c"
    },
    {
      "type": "modify",
      "old_id": "2c14020e5e1d866afbb98b9779712ec8375ee6c0",
      "old_mode": 33188,
      "old_path": "fs/cifs/cache.c",
      "new_id": "b4fa270ef5328704b595f1fd0a7936c88d5e04b4",
      "new_mode": 33188,
      "new_path": "fs/cifs/cache.c"
    },
    {
      "type": "modify",
      "old_id": "8d4b7bc8ae914edf292b16da534d700f6d870b1e",
      "old_mode": 33188,
      "old_path": "fs/cifs/fscache.c",
      "new_id": "b89b59b01759e7541de9714f5e3777c5af6c5310",
      "new_mode": 33188,
      "new_path": "fs/cifs/fscache.c"
    },
    {
      "type": "modify",
      "old_id": "24794b6cd8ec5d18ce9248a6469315a1d8eebf08",
      "old_mode": 33188,
      "old_path": "fs/cifs/fscache.h",
      "new_id": "c7e3ac251e1616c5ec9b5a0ae0103088c483f9fa",
      "new_mode": 33188,
      "new_path": "fs/cifs/fscache.h"
    },
    {
      "type": "modify",
      "old_id": "56cce7fdd39ec3ed492717a3949a6091fdb765df",
      "old_mode": 33188,
      "old_path": "fs/fscache/cache.c",
      "new_id": "c184c5a356ff2b9f6d85534c67d01aeb75fda808",
      "new_mode": 33188,
      "new_path": "fs/fscache/cache.c"
    },
    {
      "type": "modify",
      "old_id": "ea1f80daaff4c7de54bff4c42a629d8f1f673b43",
      "old_mode": 33188,
      "old_path": "fs/fscache/cookie.c",
      "new_id": "4d6210082a6080d24a402fbd49ce6ca997cd1ab3",
      "new_mode": 33188,
      "new_path": "fs/fscache/cookie.c"
    },
    {
      "type": "modify",
      "old_id": "5a117df2a9ef7e51f89a55d1bc40bdac81b79393",
      "old_mode": 33188,
      "old_path": "fs/fscache/fsdef.c",
      "new_id": "1122e97d56e81afe9cb72f1f6c61999e402537cc",
      "new_mode": 33188,
      "new_path": "fs/fscache/fsdef.c"
    },
    {
      "type": "modify",
      "old_id": "c27e2db3004eee35a5db0f70fac3f029cdf5f40c",
      "old_mode": 33188,
      "old_path": "fs/fscache/internal.h",
      "new_id": "5f905a49930699e505df6670ca3ff0e27817763e",
      "new_mode": 33188,
      "new_path": "fs/fscache/internal.h"
    },
    {
      "type": "modify",
      "old_id": "c816600d1dde551615ec29e3f569c2fec28912e8",
      "old_mode": 33188,
      "old_path": "fs/fscache/netfs.c",
      "new_id": "a5998dfab7e733050001cfdfcc15cd527b5e1e5a",
      "new_mode": 33188,
      "new_path": "fs/fscache/netfs.c"
    },
    {
      "type": "modify",
      "old_id": "0438d4cd91ef74ee98f8990936d07c3bf8a67b30",
      "old_mode": 33188,
      "old_path": "fs/fscache/object-list.c",
      "new_id": "43e6e28c164fb51522577bc2b8953a5b5dbc0799",
      "new_mode": 33188,
      "new_path": "fs/fscache/object-list.c"
    },
    {
      "type": "modify",
      "old_id": "7c0ddb7ae29ab0745b703a453f81a774edd41bc8",
      "old_mode": 33188,
      "old_path": "fs/fscache/object.c",
      "new_id": "a7b28f876fde94ee9bcc7c03ba1bed3f17658235",
      "new_mode": 33188,
      "new_path": "fs/fscache/object.c"
    },
    {
      "type": "modify",
      "old_id": "7a071e1e952d922e92d3a83164faa0fc31f432d1",
      "old_mode": 33188,
      "old_path": "fs/fscache/operation.c",
      "new_id": "e30c5975ea585e73dd70dcba892c295e3d78e68a",
      "new_mode": 33188,
      "new_path": "fs/fscache/operation.c"
    },
    {
      "type": "modify",
      "old_id": "0ee4b93d36eaf728b7d1d02a6bac2f4b485317a5",
      "old_mode": 33188,
      "old_path": "fs/nfs/fscache-index.c",
      "new_id": "6fd3679b7137b476cc56c559b3c909b9a89a0ef0",
      "new_mode": 33188,
      "new_path": "fs/nfs/fscache-index.c"
    },
    {
      "type": "modify",
      "old_id": "d63bea8bbfbb8797a4130ef0fe6f58996788cf1e",
      "old_mode": 33188,
      "old_path": "fs/nfs/fscache.c",
      "new_id": "c45ba2691ceea52e999e2e69cd671133db7a4065",
      "new_mode": 33188,
      "new_path": "fs/nfs/fscache.c"
    },
    {
      "type": "modify",
      "old_id": "d7fe3e799f2fc0ee4c83f226f5dee1cc72ca0cc7",
      "old_mode": 33188,
      "old_path": "fs/nfs/fscache.h",
      "new_id": "96e989f579d19edb6c78e7caf1b7ba6c855377f2",
      "new_mode": 33188,
      "new_path": "fs/nfs/fscache.h"
    },
    {
      "type": "modify",
      "old_id": "fe0c349684fa83428a31814d38836a6a2a7000da",
      "old_mode": 33188,
      "old_path": "include/linux/fscache.h",
      "new_id": "a2d3a21162488140a6fc6a9d1f708a37e4f26a19",
      "new_mode": 33188,
      "new_path": "include/linux/fscache.h"
    }
  ]
}
