)]}'
{
  "log": [
    {
      "commit": "82d4dc5adb0055393248ad4ab8de392fac708a12",
      "tree": "9827f519dc04c76138fac0ee90d1cc34ac9af24b",
      "parents": [
        "f85221dd74f2708b78a2aa54de59944e44206d0e"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Mar 23 03:00:38 2006 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Thu Mar 23 07:38:13 2006 -0800"
      },
      "message": "[PATCH] sem2mutex: drivers/block/nbd.c\n\nSemaphore to mutex conversion.\n\nThe conversion was generated via scripts, and the result was validated\nautomatically via a script as well.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Clements \u003cPaul.Clements@steeleye.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "4b2f0260c74324abca76ccaa42d426af163125e7",
      "tree": "881f76200dc3489b11497528feb72d6eae93bddb",
      "parents": [
        "bd6a59b22fd3bd044bb14978b885bcd042a10e8e"
      ],
      "author": {
        "name": "Herbert Xu",
        "email": "herbert@gondor.apana.org.au",
        "time": "Fri Jan 06 00:09:47 2006 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Fri Jan 06 08:33:20 2006 -0800"
      },
      "message": "[PATCH] nbd: fix TX/RX race condition\n\nJanos Haar of First NetCenter Bt.  reported numerous crashes involving the\nNBD driver.  With his help, this was tracked down to bogus bio vectors\nwhich in turn was the result of a race condition between the\nreceive/transmit routines in the NBD driver.\n\nThe bug manifests itself like this:\n\nCPU0\t\t\t\tCPU1\ndo_nbd_request\n\tadd req to queuelist\n\tnbd_send_request\n\t\tsend req head\n\t\tfor each bio\n\t\t\tkmap\n\t\t\tsend\n\t\t\t\tnbd_read_stat\n\t\t\t\t\tnbd_find_request\n\t\t\t\t\tnbd_end_request\n\t\t\tkunmap\n\nWhen CPU1 finishes nbd_end_request, the request and all its associated\nbio\u0027s are freed.  So when CPU0 calls kunmap whose argument is derived from\nthe last bio, it may crash.\n\nUnder normal circumstances, the race occurs only on the last bio.  However,\nif an error is encountered on the remote NBD server (such as an incorrect\nmagic number in the request), or if there were a bug in the server, it is\npossible for the nbd_end_request to occur any time after the request\u0027s\naddition to the queuelist.\n\nThe following patch fixes this problem by making sure that requests are not\nadded to the queuelist until after they have been completed transmission.\n\nIn order for the receiving side to be ready for responses involving\nrequests still being transmitted, the patch introduces the concept of the\nactive request.\n\nWhen a response matches the current active request, its processing is\ndelayed until after the tranmission has come to a stop.\n\nThis has been tested by Janos and it has been successful in curing this\nrace condition.\n\nFrom: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\n\n  Here is an updated patch which removes the active_req wait in\n  nbd_clear_queue and the associated memory barrier.\n\n  I\u0027ve also clarified this in the comment.\n\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\nCc: \u003cdjani22@dynamicweb.hu\u003e\nCc: Paul Clements \u003cPaul.Clements@SteelEye.com\u003e\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
      "tree": "0bba044c4ce775e45a88a51686b5d9f90697ea9d",
      "parents": [],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:20:36 2005 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:20:36 2005 -0700"
      },
      "message": "Linux-2.6.12-rc2\n\nInitial git repository build. I\u0027m not bothering with the full history,\neven though we have it. We can create a separate \"historical\" git\narchive of that later if we want to, and in the meantime it\u0027s about\n3.2GB when imported into git - space that would just make the early\ngit days unnecessarily complicated, when we don\u0027t have a lot of good\ninfrastructure for it.\n\nLet it rip!\n"
    }
  ]
}
