)]}'
{
  "commit": "531295e63be8c2b8b909d7400739e8b8df60d61f",
  "tree": "1ae5e6429e3fb52104220e543534049a6832ba1a",
  "parents": [
    "30c278192f9ab06125fb042f6e46763e0fd7140a"
  ],
  "author": {
    "name": "Amit Shah",
    "email": "amit.shah@redhat.com",
    "time": "Wed Oct 20 13:45:43 2010 +1030"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Oct 20 13:18:04 2010 -0700"
  },
  "message": "virtio: console: Don\u0027t block entire guest if host doesn\u0027t read data\n\nIf the host is slow in reading data or doesn\u0027t read data at all,\nblocking write calls not only blocked the program that called write()\nbut the entire guest itself.\n\nTo overcome this, let\u0027s not block till the host signals it has given\nback the virtio ring element we passed it.  Instead, send the buffer to\nthe host and return to userspace.  This operation then becomes similar\nto how non-blocking writes work, so let\u0027s use the existing code for this\npath as well.\n\nThis code change also ensures blocking write calls do get blocked if\nthere\u0027s not enough room in the virtio ring as well as they don\u0027t return\n-EAGAIN to userspace.\n\nSigned-off-by: Amit Shah \u003camit.shah@redhat.com\u003e\nAcked-by: Hans de Goede \u003chdegoede@redhat.com\u003e\nCC: stable@kernel.org\nSigned-off-by: Rusty Russell \u003crusty@rustcorp.com.au\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c810481a5bc23ae3ca57127729c83e454d681534",
      "old_mode": 33188,
      "old_path": "drivers/char/virtio_console.c",
      "new_id": "0f69c5ec0ecd48a2af0045b02f9a6894b368a6b6",
      "new_mode": 33188,
      "new_path": "drivers/char/virtio_console.c"
    }
  ]
}
