GitHub PushEvent at 2014-07-25 22:32:31
Repository: android_kernel_lge_hammerhead-starship
Actor: Chairshot215
Payload: {"shas":[["5cf7ebd496752234166f34028219ec6e7ea62553","e601a7122a712905ca1aba6a3ea5538144272c96@steeleye.com","nbd: clear waiting_queue on shutdown\n\ncommit fded4e090c60100d709318896c79816d68d5b47d upstream.\n\nFix a serious but uncommon bug in nbd which occurs when there is heavy\nI/O going to the nbd device while, at the same time, a failure (server,\nnetwork) or manual disconnect of the nbd connection occurs.\n\nThere is a small window between the time that the nbd_thread is stopped\nand the socket is shutdown where requests can continue to be queued to\nnbd's internal waiting_queue.  When this happens, those requests are\nnever completed or freed.\n\nThe fix is to clear the waiting_queue on shutdown of the nbd device, in\nthe same way that the nbd request queue (queue_head) is already being\ncleared.\n\nSigned-off-by: Paul Clements <paul.clements@steeleye.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Paul Clements",true]],"size":1,"ref":"refs/heads/cm-11.0_testing","head":"5cf7ebd496752234166f34028219ec6e7ea62553"}