{"push_id":741568449,"size":29,"distinct_size":29,"ref":"refs/heads/master","head":"733db573a6451681b60e7372d2862de09d6eb04e","before":"956325bd55bb020e574129c443a2c2c66a8316e7","commits":[{"sha":"9b353cc8f199e4bc78023e8300306b5a16b48e75","author":{"email":"380ce2a82d3d08e67ab163b51dc6d30288ad3f13@mellanox.com","name":"Sagi Grimberg"},"message":"target/pr: Fix possible uninitialized variable usage\n\nTriggered a compilation warning.\n\nFixes: 2650d71e2 target: move transport ID handling to the core\n\nSigned-off-by: Sagi Grimberg <sagig@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/9b353cc8f199e4bc78023e8300306b5a16b48e75"},{"sha":"27e6772b0d492375621f496a114617bf9c17c8d2","author":{"email":"380ce2a82d3d08e67ab163b51dc6d30288ad3f13@mellanox.com","name":"Sagi Grimberg"},"message":"target/spc: Set SPT correctly in Extended INQUIRY Data VPD page\n\nLIO supports protection types 1,3 so setting a hard-coded SPT=3\nis fine for now.\n\nSigned-off-by: Sagi Grimberg <sagig@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/27e6772b0d492375621f496a114617bf9c17c8d2"},{"sha":"3aa3c67b266fd6114c019bbac35de79aca02d520","author":{"email":"978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","name":"Nicholas Bellinger"},"message":"target: Add extra TYPE_DISK + protection checks for INQUIRY SPT\n\nCc: Sagi Grimberg <sagig@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/3aa3c67b266fd6114c019bbac35de79aca02d520"},{"sha":"5dacbfc934cab0778852b18dd5d67ecebfcf9a2e","author":{"email":"380ce2a82d3d08e67ab163b51dc6d30288ad3f13@mellanox.com","name":"Sagi Grimberg"},"message":"target/rd: Set ramdisk as non rotational device\n\nSince a RAM backend device is not really a rotational device,\nwe set it as is_nonrot=1 which will be forwarded in VPD page 0xb1\n(block device characteristics) response.\n\nSigned-off-by: Sagi Grimberg <sagig@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/5dacbfc934cab0778852b18dd5d67ecebfcf9a2e"},{"sha":"fd4e1393c414275d28577a2242f4e424cf80a605","author":{"email":"1f1947151fff46847c7ab253c8b8ee2fc7e63b14@osadl.org","name":"Nicholas Mc Guire"},"message":"tcm_qla2xxx: pass timeout as HZ independent value\n\nAPI compliance scanning with coccinelle flagged:\n./drivers/scsi/qla2xxx/tcm_qla2xxx.c:407:2-29:\n         WARNING: timeout is HZ dependent\n\nThis was introduced in 'commit 75f8c1f693ee (\"[SCSI] tcm_qla2xxx: Add >=\n24xx series fabric module for target-core\")'. wait_for_completion_timeout()\nexpects a timeout in jiffies so the numeric constant makes the effective\ntimeout HZ dependent. Resolved by converting it to CONST * HZ.\n\nSigned-off-by: Nicholas Mc Guire <hofrat@osadl.org>\nAcked-by: Nilesh Javali <nilesh.javali@qlogic.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/fd4e1393c414275d28577a2242f4e424cf80a605"},{"sha":"bc1a7d6aff763ea29db6319185327f86b0fe93b6","author":{"email":"b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com","name":"Andy Grover"},"message":"target: Indicate success if writing 0 to pi_prot_type\n\nSee https://bugzilla.redhat.com/show_bug.cgi?id=1240687\n\nReturning 0 from a configfs store function results in infinite retries.\n\nReported-by: Yanko Kaneti <yaneti@declera.com>\nSigned-off-by: Andy Grover <agrover@redhat.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/bc1a7d6aff763ea29db6319185327f86b0fe93b6"},{"sha":"9105bfc038ca5a506404ce37cd3c0e85f76351e3","author":{"email":"b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com","name":"Andy Grover"},"message":"target: Do not return 0 from aptpl and alua configfs store functions\n\nHere are some more instances where we are returning 0 from a configfs\nstore function, the unintended result of which is likely infinite retries\nfrom userspace.\n\nSigned-off-by: Andy Grover <agrover@redhat.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/9105bfc038ca5a506404ce37cd3c0e85f76351e3"},{"sha":"c20910264c367a5dfbf6c09e8ec2ff0c5c52857a","author":{"email":"589a549dc9f982d9f46aeeb82a09ab6d87ccf1d8@suse.de","name":"David Disseldorp"},"message":"target/configfs: handle match_int() errors\n\nAs a follow up to ce31c1b0dc4038a1dec64585d892adb73d9c45f4 - there are\nstill a few LIO match_int() calls that don't check the return value.\nPropagate errors rather than using the potentially uninitialised result.\n\nSigned-off-by: David Disseldorp <ddiss@suse.de>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/c20910264c367a5dfbf6c09e8ec2ff0c5c52857a"},{"sha":"ba9f6f64a0ff6b7ecaed72144c179061f8eca378","author":{"email":"88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com","name":"Saurav Kashyap"},"message":"qla2xxx: Fix hardware lock/unlock issue causing kernel panic.\n\n[ Upstream commit ef86cb2059a14b4024c7320999ee58e938873032 ]\n\nThis patch fixes a kernel panic for qla2xxx Target core\nModule driver introduced by a fix in the qla2xxx initiator code.\n\nCommit ef86cb2 (\"qla2xxx: Mark port lost when we receive an RSCN for it.\")\nintroduced the regression for qla2xxx Target driver.\n\nStack trace will have following signature\n\n --- <NMI exception stack> ---\n[ffff88081faa3cc8] _raw_spin_lock_irqsave at ffffffff815b1f03\n[ffff88081faa3cd0] qlt_fc_port_deleted at ffffffffa096ccd0 [qla2xxx]\n[ffff88081faa3d20] qla2x00_schedule_rport_del at ffffffffa0913831[qla2xxx]\n[ffff88081faa3d50] qla2x00_mark_device_lost at ffffffffa09159c5[qla2xxx]\n[ffff88081faa3db0] qla2x00_async_event at ffffffffa0938d59 [qla2xxx]\n[ffff88081faa3e30] qla24xx_msix_default at ffffffffa093a326 [qla2xxx]\n[ffff88081faa3e90] handle_irq_event_percpu at ffffffff810a7b8d\n[ffff88081faa3ee0] handle_irq_event at ffffffff810a7d32\n[ffff88081faa3f10] handle_edge_irq at ffffffff810ab6b9\n[ffff88081faa3f30] handle_irq at ffffffff8100619c\n[ffff88081faa3f70] do_IRQ at ffffffff815b4b1c\n --- <IRQ stack> ---\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/ba9f6f64a0ff6b7ecaed72144c179061f8eca378"},{"sha":"b20f02e1418d8a5617b81464c612de09aa55e552","author":{"email":"a1599b7f51f3890722b2125e7c07879c181c9399@qlogic.com","name":"Himanshu Madhani"},"message":"qla2xxx: Enable target mode for ISP27XX\n\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/b20f02e1418d8a5617b81464c612de09aa55e552"},{"sha":"3761f3e8704878b1d3db9751f5c6db6fc918032f","author":{"email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@qlogic.com","name":"Quinn Tran"},"message":"qla2xxx: Add flush after updating ATIOQ consumer index.\n\nAfter updating the consumer index of ATIO Q, a read is\nrequired to flush the write to the adapter register.\n\nSigned-off-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/3761f3e8704878b1d3db9751f5c6db6fc918032f"},{"sha":"810e30bc4658e9c069577bde52394a5af872803c","author":{"email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@qlogic.com","name":"Quinn Tran"},"message":"qla2xxx: release request queue reservation.\n\nRequest IOCB queue element(s) is reserved during\ngood path IO.  Under error condition such as unable\nto allocate IOCB handle condition, the IOCB count\nthat was reserved is not released.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/810e30bc4658e9c069577bde52394a5af872803c"},{"sha":"e5fdee875f7918b37f7c3fce3025197d8f214a27","author":{"email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@qlogic.com","name":"Quinn Tran"},"message":"qla2xxx: adjust debug flags\n\nAdjust debug flag to match debug comment.\n\nSigned-off-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/e5fdee875f7918b37f7c3fce3025197d8f214a27"},{"sha":"6bc85dd595a5438b50ec085668e53ef26058bb90","author":{"email":"a1599b7f51f3890722b2125e7c07879c181c9399@qlogic.com","name":"Himanshu Madhani"},"message":"qla2xxx: Remove msleep in qlt_send_term_exchange\n\nRemove unnecessary msleep from qlt_send_term_exchange as it\nadds latency of 250 msec while sending terminate exchange to\nan aborted task.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/6bc85dd595a5438b50ec085668e53ef26058bb90"},{"sha":"9fce12540cb9f91e7f1f539a80b70f0b388bdae0","author":{"email":"1a2d31932ecdf5cc65411a9ec85d7a75d457d73a@qlogic.com","name":"Kanoj Sarcar"},"message":"qla2xxx: fix command initialization in target mode.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Kanoj Sarcar <kanoj.sarcar@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nReviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/9fce12540cb9f91e7f1f539a80b70f0b388bdae0"},{"sha":"b2032fd567326ad0b2d443bb6d96d2580ec670a5","author":{"email":"0d270388f2f92757a5de0f4bd891d3b392c44c4f@purestorage.com","name":"Roland Dreier"},"message":"qla2xxx: kill sessions/log out initiator on RSCN and port down events\n\nTo fix some issues talking to ESX, this patch modifies the qla2xxx driver\nso that it never logs into remote ports.  This has the side effect of\ngetting rid of the \"rports\" entirely, which means we never log out of\ninitiators and never tear down sessions when an initiator goes away.\n\nThis is mostly OK, except that we can run into trouble if we have\ninitiator A assigned FC address X:Y:Z by the fabric talking to us, and\nthen initiator A goes away.  Some time (could be a long time) later,\ninitiator B comes along and also gets FC address X:Y:Z (which is\navailable again, because initiator A is gone).  If initiator B starts\ntalking to us, then we'll still have the session for initiator A, and\nsince we look up incoming IO based on the FC address X:Y:Z, initiator B\nwill end up using ACLs for initiator A.\n\nFix this by:\n\n 1. Handling RSCN events somewhat differently; instead of completely\n    skipping the processing of fcports, we look through the list, and if\n    an fcport disappears, we tell the target code the tear down the\n    session and tell the HBA FW to release the N_Port handle.\n\n 2. Handling \"port down\" events by flushing all of our sessions.  The\n    firmware was already releasing the N_Port handle but we want the\n    target code to drop all the sessions too.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Roland Dreier <roland@purestorage.com>\nSigned-off-by: Alexei Potashnik <alexei@purestorage.com>\nAcked-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/b2032fd567326ad0b2d443bb6d96d2580ec670a5"},{"sha":"8b2f5ff3d05c2c48b722c3cc67b8226f1601042b","author":{"email":"590328ae1d5238d3edfa3fbcbabc4de12e290604@purestorage.com","name":"Swapnil Nagle"},"message":"qla2xxx: cleanup cmd in qla workqueue before processing TMR\n\nSince cmds go into qla_tgt_wq and TMRs don't, it's possible that TMR\nlike TASK_ABORT can be queued over the cmd for which it was meant.\nTo avoid this race, use a per-port list to keep track of cmds that\nare enqueued to qla_tgt_wq but not yet processed. When a TMR arrives,\niterate through this list and remove any cmds that match the TMR.\nThis patch supports TASK_ABORT and LUN_RESET.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Swapnil Nagle <swapnil.nagle@purestorage.com>\nSigned-off-by: Alexei Potashnik <alexei@purestorage.com>\nAcked-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/8b2f5ff3d05c2c48b722c3cc67b8226f1601042b"},{"sha":"a6ca88780dd66b0700d89419abd17b6b4bb49483","author":{"email":"7b9769c9c63db7b456a556857e9f88090ee9c9a2@purestorage.com","name":"Alexei Potashnik"},"message":"qla2xxx: delay plogi/prli ack until existing sessions are deleted\n\n- keep qla_tgt_sess object on the session list until it's freed\n\n- modify use of sess->deleted flag to differentiate delayed\n  session deletion that can be cancelled from irreversible one:\n  QLA_SESS_DELETION_PENDING vs QLA_SESS_DELETION_IN_PROGRESS\n\n- during IN_PROGRESS deletion all newly arrived commands and TMRs will\n  be rejected, existing commands and TMRs will be terminated when\n  given by the core to the fabric or simply dropped if session logout\n  has already happened (logout terminates all existing exchanges)\n\n- new PLOGI will initiate deletion of the following sessions\n  (unless deletion is already IN_PROGRESS):\n  - with the same port_name (with logout)\n  - different port_name, different loop_id but the same port_id\n    (with logout)\n  - different port_name, different port_id, but the same loop_id\n    (without logout)\n\n- additionally each new PLOGI will store imm notify iocb in the\n  same port_name session being deleted. When deletion process\n  completes this iocb will be acked. Only the most recent PLOGI\n  iocb is stored. The older ones will be terminated when replaced.\n\n- new PRLI will initiate deletion of the following sessions\n  (unless deletion is already IN_PROGRESS):\n  - different port_name, different port_id, but the same loop_id\n   (without logout)\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Alexei Potashnik <alexei@purestorage.com>\nAcked-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/a6ca88780dd66b0700d89419abd17b6b4bb49483"},{"sha":"daddf5cf9b5c68b81b2bb7133f1dd0fda4552d0b","author":{"email":"7b9769c9c63db7b456a556857e9f88090ee9c9a2@purestorage.com","name":"Alexei Potashnik"},"message":"qla2xxx: Abort stale cmds on qla_tgt_wq when plogi arrives\n\ncancel any commands from initiator's s_id that are still waiting\non qla_tgt_wq when PLOGI arrives.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Alexei Potashnik <alexei@purestorage.com>\nAcked-by: Quinn Tran <quinn.tran@qlogic.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/daddf5cf9b5c68b81b2bb7133f1dd0fda4552d0b"},{"sha":"df673274fa4896f25f0bf348d2a3535d74b4cbec","author":{"email":"7b9769c9c63db7b456a556857e9f88090ee9c9a2@purestorage.com","name":"Alexei Potashnik"},"message":"qla2xxx: added sess generations to detect RSCN update races\n\nRSCN processing in qla2xxx driver can run in parallel with ELS/IO\nprocessing. As such the decision to remove disappeared fc port's\nsession could be stale, because a new login sequence has occurred\nsince and created a brand new session.\n\nPrevious mechanism of dealing with this by delaying deletion request\nwas prone to erroneous deletions if the event that was supposed to\ncancel the deletion never arrived or has been delayed in processing.\n\nNew mechanism relies on a time-like generation counter to serialize\nRSCN updates relative to ELS/IO updates.\n\nCc: <stable@vger.kernel.org> # v3.18+\nSigned-off-by: Alexei Potashnik <alexei@purestorage.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/df673274fa4896f25f0bf348d2a3535d74b4cbec"}]}