)]}'
{
  "commit": "105fa2f44e504c830697b0c794822112d79808dc",
  "tree": "74b92284d7ddcbe1cae8db29ee08dd1093bb5c29",
  "parents": [
    "73d4e580ccc5c3e05cea002f18111f66c9c07034"
  ],
  "author": {
    "name": "Nicholas Bellinger",
    "email": "nab@linux-iscsi.org",
    "time": "Sat Jun 03 05:35:47 2017 -0700"
  },
  "committer": {
    "name": "Nicholas Bellinger",
    "email": "nab@linux-iscsi.org",
    "time": "Thu Jun 08 22:25:14 2017 -0700"
  },
  "message": "iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP\n\nThis patch fixes a BUG() in iscsit_close_session() that could be\ntriggered when iscsit_logout_post_handler() execution from within\ntx thread context was not run for more than SECONDS_FOR_LOGOUT_COMP\n(15 seconds), and the TCP connection didn\u0027t already close before\nthen forcing tx thread context to automatically exit.\n\nThis would manifest itself during explicit logout as:\n\n[33206.974254] 1 connection(s) still exist for iSCSI session to iqn.1993-08.org.debian:01:3f5523242179\n[33206.980184] INFO: NMI handler (kgdb_nmi_handler) took too long to run: 2100.772 msecs\n[33209.078643] ------------[ cut here ]------------\n[33209.078646] kernel BUG at drivers/target/iscsi/iscsi_target.c:4346!\n\nNormally when explicit logout attempt fails, the tx thread context\nexits and iscsit_close_connection() from rx thread context does the\nextra cleanup once it detects conn-\u003econn_logout_remove has not been\ncleared by the logout type specific post handlers.\n\nTo address this special case, if the logout post handler in tx thread\ncontext detects conn-\u003etx_thread_active has already been cleared, simply\nreturn and exit in order for existing iscsit_close_connection()\nlogic from rx thread context do failed logout cleanup.\n\nReported-by: Bart Van Assche \u003cbart.vanassche@sandisk.com\u003e\nTested-by: Bart Van Assche \u003cbart.vanassche@sandisk.com\u003e\nCc: Mike Christie \u003cmchristi@redhat.com\u003e\nCc: Hannes Reinecke \u003chare@suse.de\u003e\nCc: Sagi Grimberg \u003csagig@mellanox.com\u003e\nCc: stable@vger.kernel.org # 3.14+\nTested-by: Gary Guo \u003cghg@datera.io\u003e\nTested-by: Chu Yuan Lin \u003ccyl@datera.io\u003e\nSigned-off-by: Nicholas Bellinger \u003cnab@linux-iscsi.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d8f81591bed076fa1f89f7cd27360776488f349",
      "old_mode": 33188,
      "old_path": "drivers/target/iscsi/iscsi_target.c",
      "new_id": "c0254516b3804bf56da0f744677742de79a34dbf",
      "new_mode": 33188,
      "new_path": "drivers/target/iscsi/iscsi_target.c"
    }
  ]
}
