)]}'
{
  "commit": "feaa7bba026c181ce071d5a4884f7f9dd26207a1",
  "tree": "c858deb225917265cb07820730e9764674d133e8",
  "parents": [
    "22da645fd6675b7abc55cf937ddf6132f343e5b9"
  ],
  "author": {
    "name": "Steven Whitehouse",
    "email": "swhiteho@redhat.com",
    "time": "Wed Jun 14 15:32:57 2006 -0400"
  },
  "committer": {
    "name": "Steven Whitehouse",
    "email": "swhiteho@redhat.com",
    "time": "Wed Jun 14 15:32:57 2006 -0400"
  },
  "message": "[GFS2] Fix unlinked file handling\n\nThis patch fixes the way we have been dealing with unlinked,\nbut still open files. It removes all limits (other than memory\nfor inodes, as per every other filesystem) on numbers of these\nwhich we can support on GFS2. It also means that (like other\nfs) its the responsibility of the last process to close the file\nto deallocate the storage, rather than the person who did the\nunlinking. Note that with GFS2, those two events might take place\non different nodes.\n\nAlso there are a number of other changes:\n\n o We use the Linux inode subsystem as it was intended to be\nused, wrt allocating GFS2 inodes\n o The Linux inode cache is now the point which we use for\nlocal enforcement of only holding one copy of the inode in\ncore at once (previous to this we used the glock layer).\n o We no longer use the unlinked \"special\" file. We just ignore it\ncompletely. This makes unlinking more efficient.\n o We now use the 4th block allocation state. The previously unused\nstate is used to track unlinked but still open inodes.\n o gfs2_inoded is no longer needed\n o Several fields are now no longer needed (and removed) from the in\ncore struct gfs2_inode\n o Several fields are no longer needed (and removed) from the in core\nsuperblock\n\nThere are a number of future possible optimisations and clean ups\nwhich have been made possible by this patch.\n\nSigned-off-by: Steven Whitehouse \u003cswhiteho@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9974201aa16c14ac9bab509c0ba261a7deef014e",
      "old_mode": 33188,
      "old_path": "fs/gfs2/Makefile",
      "new_id": "0b7977623b805f8d8de15b48a31ca32be4236a16",
      "new_mode": 33188,
      "new_path": "fs/gfs2/Makefile"
    },
    {
      "type": "modify",
      "old_id": "343dbe3e87bbf083c9a5cc97abbefec0096dd132",
      "old_mode": 33188,
      "old_path": "fs/gfs2/acl.c",
      "new_id": "9ef4cf2c03dbd0a0ef0743d644c556cec3e09c7f",
      "new_mode": 33188,
      "new_path": "fs/gfs2/acl.c"
    },
    {
      "type": "modify",
      "old_id": "41abd3f4fc737ece3c01c512356fba15d108af38",
      "old_mode": 33188,
      "old_path": "fs/gfs2/bmap.c",
      "new_id": "98fa07c2b710ee6db00c5a1942638550d430474d",
      "new_mode": 33188,
      "new_path": "fs/gfs2/bmap.c"
    },
    {
      "type": "modify",
      "old_id": "9e7b9f296786dd47067e4061014840435a4e5f71",
      "old_mode": 33188,
      "old_path": "fs/gfs2/daemon.c",
      "new_id": "1453605c8f32d8be42f224dd7fb8477bdd6c5bbf",
      "new_mode": 33188,
      "new_path": "fs/gfs2/daemon.c"
    },
    {
      "type": "modify",
      "old_id": "aa68e7a1b0b7649cca9e9d8c5d53e2ec470876f5",
      "old_mode": 33188,
      "old_path": "fs/gfs2/daemon.h",
      "new_id": "aa93eb6f668e33f7e16c8f35363d643db84d47c8",
      "new_mode": 33188,
      "new_path": "fs/gfs2/daemon.h"
    },
    {
      "type": "modify",
      "old_id": "6918a58261e29b41c712192d536c9d1b297786ed",
      "old_mode": 33188,
      "old_path": "fs/gfs2/dir.c",
      "new_id": "b0353884dd7d116b49bd33ff383555d63353c44b",
      "new_mode": 33188,
      "new_path": "fs/gfs2/dir.c"
    },
    {
      "type": "modify",
      "old_id": "1c5ac3160b3b326bad3f07b3b6fc17dc64308a10",
      "old_mode": 33188,
      "old_path": "fs/gfs2/eaops.c",
      "new_id": "b7e6a37cab6ecd0d4b81ea643bc3bb94995fc4a1",
      "new_mode": 33188,
      "new_path": "fs/gfs2/eaops.c"
    },
    {
      "type": "modify",
      "old_id": "2e114c0757070704ec32ddbc8e0693419dbfac54",
      "old_mode": 33188,
      "old_path": "fs/gfs2/eattr.c",
      "new_id": "96736932260f2eddba52fc0b55d056484a10b1cf",
      "new_mode": 33188,
      "new_path": "fs/gfs2/eattr.c"
    },
    {
      "type": "modify",
      "old_id": "0603a6de52c9c50c28d50b4010c32dbf861410fd",
      "old_mode": 33188,
      "old_path": "fs/gfs2/glock.c",
      "new_id": "35bac90878a58803ffe57883bc2a1ebacb56dbae",
      "new_mode": 33188,
      "new_path": "fs/gfs2/glock.c"
    },
    {
      "type": "modify",
      "old_id": "2e0a2ba92aa0268bf7ae78d3cf2e2eb80e380733",
      "old_mode": 33188,
      "old_path": "fs/gfs2/glock.h",
      "new_id": "fdf58db44ae3dcfd4be89abc002cd41533d44e99",
      "new_mode": 33188,
      "new_path": "fs/gfs2/glock.h"
    },
    {
      "type": "modify",
      "old_id": "e262f22f744e0ae534b5657ce4ceb9653bfdce0a",
      "old_mode": 33188,
      "old_path": "fs/gfs2/glops.c",
      "new_id": "013bf5f1552f0e00f7feac77220ed6ca69d8463a",
      "new_mode": 33188,
      "new_path": "fs/gfs2/glops.c"
    },
    {
      "type": "modify",
      "old_id": "8caefec888541f6cb81a28367d03abcdab874c2b",
      "old_mode": 33188,
      "old_path": "fs/gfs2/incore.h",
      "new_id": "9a67a5954126cf6552bb5514583aeb3446dd08d3",
      "new_mode": 33188,
      "new_path": "fs/gfs2/incore.h"
    },
    {
      "type": "modify",
      "old_id": "c2c7d2b63a577f850164a8684b688282a440f9a5",
      "old_mode": 33188,
      "old_path": "fs/gfs2/inode.c",
      "new_id": "4e9c42119aed42140862f601832bac0fea10b152",
      "new_mode": 33188,
      "new_path": "fs/gfs2/inode.c"
    },
    {
      "type": "modify",
      "old_id": "5ef21317b2f6d07ca778650ce5cc728dfa5a8b09",
      "old_mode": 33188,
      "old_path": "fs/gfs2/inode.h",
      "new_id": "30cfcc10beb29894eb349a0a69581840c9989a2c",
      "new_mode": 33188,
      "new_path": "fs/gfs2/inode.h"
    },
    {
      "type": "modify",
      "old_id": "2a8b4b71dd1fa1f06aae40112772224a3572284c",
      "old_mode": 33188,
      "old_path": "fs/gfs2/log.c",
      "new_id": "483d4fa987f64d03126faeaa79c8265dbc690e1a",
      "new_mode": 33188,
      "new_path": "fs/gfs2/log.c"
    },
    {
      "type": "modify",
      "old_id": "e4c75a74df5bc55989705e6281d8e999b373b5b0",
      "old_mode": 33188,
      "old_path": "fs/gfs2/lops.c",
      "new_id": "a76f1a778920089d831eefebe3655a86b7d2a408",
      "new_mode": 33188,
      "new_path": "fs/gfs2/lops.c"
    },
    {
      "type": "modify",
      "old_id": "b24d0b40d965c6ddcaba851d108f12bb2e88ff84",
      "old_mode": 33188,
      "old_path": "fs/gfs2/main.c",
      "new_id": "c112943ee8c1930a8a5e0ce11ecc3a34fd64dc87",
      "new_mode": 33188,
      "new_path": "fs/gfs2/main.c"
    },
    {
      "type": "modify",
      "old_id": "c78517225f61a7cd63faba4f407ce52b41376b6a",
      "old_mode": 33188,
      "old_path": "fs/gfs2/meta_io.c",
      "new_id": "2523d42a02de7da79255e1a253452e1b227782e9",
      "new_mode": 33188,
      "new_path": "fs/gfs2/meta_io.c"
    },
    {
      "type": "modify",
      "old_id": "be5c86e5787edcfd61551b3bde0010eccf5589ba",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ondisk.c",
      "new_id": "09154ad7b2706b5c65d1810d7462df314b3b8d6f",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ondisk.c"
    },
    {
      "type": "modify",
      "old_id": "16d3ebd320926c23141391b8687bcecc9260d22b",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_address.c",
      "new_id": "207363aed11216dd7da057e99df07cfbb1142a84",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_address.c"
    },
    {
      "type": "modify",
      "old_id": "fef415e2068ee056255b3bda599ed638dd1bf1a0",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_dentry.c",
      "new_id": "fd55979ec428106e2da3d2ff0f1db6ff46edfb73",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_dentry.c"
    },
    {
      "type": "modify",
      "old_id": "a376ead7d0cdd1f0201abe7233abae209ec96e8d",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_export.c",
      "new_id": "eacc1c092f91f12ab82a4b0985f47afb259b16a8",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_export.c"
    },
    {
      "type": "modify",
      "old_id": "1e8f602c1e507ea2ca03b25594b4e5fc5a05cfe4",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_file.c",
      "new_id": "222f3be3e06e829409e91cff4e5ca43fdc7a4b39",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_file.c"
    },
    {
      "type": "modify",
      "old_id": "a459820455091bf3caadb2de83132ae71c26fa3a",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_fstype.c",
      "new_id": "b68eb6b4a4c1eca64028734217fede1391a7e9ef",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_fstype.c"
    },
    {
      "type": "modify",
      "old_id": "0c06f92368f2d25716887bb5646d7d2dfd584f37",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_inode.c",
      "new_id": "f678f6b62afd7673709b981a1bd7b15e5ed77064",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_inode.c"
    },
    {
      "type": "modify",
      "old_id": "1c17acc946f9bd9941109545b4325d746f5d9e95",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_super.c",
      "new_id": "317d497f8f8899fffd3e9985206b4112017f3f83",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_super.c"
    },
    {
      "type": "modify",
      "old_id": "263c1fb7bbafeb3646e95eee0aa2478a4665c819",
      "old_mode": 33188,
      "old_path": "fs/gfs2/ops_vm.c",
      "new_id": "08709f19ea9804c0f6d4f9c56e73f182dbd80405",
      "new_mode": 33188,
      "new_path": "fs/gfs2/ops_vm.c"
    },
    {
      "type": "modify",
      "old_id": "cd93644c7d705279d7c2d3798c78423387bca38f",
      "old_mode": 33188,
      "old_path": "fs/gfs2/page.c",
      "new_id": "a8165a693b56c1631730c7ea0277af112b4398d6",
      "new_mode": 33188,
      "new_path": "fs/gfs2/page.c"
    },
    {
      "type": "modify",
      "old_id": "f752b01846905f5271a66694ee5d2db4176fb556",
      "old_mode": 33188,
      "old_path": "fs/gfs2/quota.c",
      "new_id": "d3cd5171d7c75a89b1a1ad3eed0195ccdfe3c9e6",
      "new_mode": 33188,
      "new_path": "fs/gfs2/quota.c"
    },
    {
      "type": "modify",
      "old_id": "c504ac1b831d059556c419392aa553eb3fea5508",
      "old_mode": 33188,
      "old_path": "fs/gfs2/recovery.c",
      "new_id": "7aabc03e4abdfc3da6c37ffe6ad42f6348cc353c",
      "new_mode": 33188,
      "new_path": "fs/gfs2/recovery.c"
    },
    {
      "type": "modify",
      "old_id": "691e6f3ce43b7a32dea77afbaa3a1b1b75d853a1",
      "old_mode": 33188,
      "old_path": "fs/gfs2/rgrp.c",
      "new_id": "75df79eb50ba1cc09841c2ab34779ff2e0e3e6f0",
      "new_mode": 33188,
      "new_path": "fs/gfs2/rgrp.c"
    },
    {
      "type": "modify",
      "old_id": "d2db3719cc0f17de9290ff4287d3ba47e062dfff",
      "old_mode": 33188,
      "old_path": "fs/gfs2/rgrp.h",
      "new_id": "e86a532cc1594acc49976576f7f792e9dd5f1d43",
      "new_mode": 33188,
      "new_path": "fs/gfs2/rgrp.h"
    },
    {
      "type": "modify",
      "old_id": "a943a505bc5ab6147494314b0187a1171740834c",
      "old_mode": 33188,
      "old_path": "fs/gfs2/super.c",
      "new_id": "f2d287660cc94177fb933dcedf3c0c270977c32d",
      "new_mode": 33188,
      "new_path": "fs/gfs2/super.c"
    },
    {
      "type": "modify",
      "old_id": "d32a2c54daee458dd7cd7110c1acbff9b6d2ee3e",
      "old_mode": 33188,
      "old_path": "fs/gfs2/sys.c",
      "new_id": "3c4cb455890573e0f472363663f3b2193c46dd62",
      "new_mode": 33188,
      "new_path": "fs/gfs2/sys.c"
    },
    {
      "type": "modify",
      "old_id": "60ef163dd9bb949739b05550d81525c20c03c8e0",
      "old_mode": 33188,
      "old_path": "fs/gfs2/trans.h",
      "new_id": "fbef3f5a99e3e89128d90d4055967d68f00caee5",
      "new_mode": 33188,
      "new_path": "fs/gfs2/trans.h"
    },
    {
      "type": "delete",
      "old_id": "b92d730020553a8cd6b86cd64065a14e0200bd12",
      "old_mode": 33188,
      "old_path": "fs/gfs2/unlinked.c",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "159cf5ffe47e4ed733206374496aa1f7a829a225",
      "old_mode": 33188,
      "old_path": "fs/gfs2/unlinked.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "88974e9824f7a052cbc0ac7ea9f9d4f4a593c9e1",
      "old_mode": 33188,
      "old_path": "fs/gfs2/util.c",
      "new_id": "39e67b1ec70ab7adaf3640db40ff55e3617f7f20",
      "new_mode": 33188,
      "new_path": "fs/gfs2/util.c"
    },
    {
      "type": "modify",
      "old_id": "3893aac4e3ae33fab880907c59d0dd381aba53d3",
      "old_mode": 33188,
      "old_path": "include/linux/gfs2_ondisk.h",
      "new_id": "1181da8319394e447496a999f2251965d7372c25",
      "new_mode": 33188,
      "new_path": "include/linux/gfs2_ondisk.h"
    }
  ]
}
