From df92a982ba21d9f726f35d152813aa9b15a190a5 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 20 Jun 2011 20:51:11 +0000 Subject: [PATCH] Blocked revisions 3582-3593,3598-3600,3603 via svnmerge ........ r3582 | vlnb | 2011-06-16 22:34:21 -0400 (Thu, 16 Jun 2011) | 3 lines Docs update from Bart Van Assche ........ r3583 | vlnb | 2011-06-16 22:43:05 -0400 (Thu, 16 Jun 2011) | 16 lines With NPIV initiators being destroyed and recreated, the loop_id and/or the d_id of a virtual initiator may change. The current implementation not always catches these changes, which leads to wrong virtual devices being presented to the initiators. This can lead to i.e. corruption of LUN content and multiple initiators writing to the same LUN, although the LUN's access group only contains a single port. Until a better solution is found, we schedule a session deletion for the nexus when receiving an ELS port logout message. That way SCST will re-initialize both loop_id and d_id when the initiator reconnects before the actual deletion takes place. The performance impact is minimal (few milliseconds) and currently necessary. Signed-off-by: Jens-U. Mozdzen ........ r3584 | bvassche | 2011-06-17 06:58:46 -0400 (Fri, 17 Jun 2011) | 1 line qla2x00t: Fix a checkpatch complaint about whitespace ........ r3585 | bvassche | 2011-06-17 13:53:06 -0400 (Fri, 17 Jun 2011) | 1 line ib_srpt README: Add a paragraph about adding and removing LUNs dynamically ........ r3586 | vlnb | 2011-06-17 18:34:04 -0400 (Fri, 17 Jun 2011) | 3 lines RHEL6 fix ........ r3587 | vlnb | 2011-06-17 18:35:12 -0400 (Fri, 17 Jun 2011) | 3 lines Auto set thin provisioning for BLOCKIO devices ........ r3588 | vlnb | 2011-06-17 18:38:00 -0400 (Fri, 17 Jun 2011) | 3 lines Unmap fixes ........ r3589 | bvassche | 2011-06-18 07:40:06 -0400 (Sat, 18 Jun 2011) | 1 line ib_srpt: Update dynamic LUN documentation ........ r3590 | vlnb | 2011-06-18 17:00:14 -0400 (Sat, 18 Jun 2011) | 3 lines Return max unmap LBA count in the blocks limits page as well ........ r3591 | vlnb | 2011-06-18 17:15:59 -0400 (Sat, 18 Jun 2011) | 15 lines Several wait loops in the SCST source code are similar. Move the common code into a new macro called wait_event_locked(). Signed-off-by: Bart Van Assche + Micro-optimize wait_event_locked(). Switch from default_wake_function() to autoremove_wake_function() (via DEFINE_WAIT()). The result is that wait_queue_head_t.lock is locked once instead of twice for wakeup + wait queue removal. Signed-off-by: Bart Van Assche ........ r3592 | bvassche | 2011-06-19 02:11:03 -0400 (Sun, 19 Jun 2011) | 1 line Remove a recently introduced blank line ........ r3593 | bvassche | 2011-06-19 02:21:49 -0400 (Sun, 19 Jun 2011) | 1 line scstadmin(sysfs): Make writing top-level non-key attributes work. Do not indent these attributes. ........ r3598 | bvassche | 2011-06-19 12:58:29 -0400 (Sun, 19 Jun 2011) | 1 line scstadmin: Use 1 instead of TRUE where an integer exit code is returned ........ r3599 | bvassche | 2011-06-19 13:30:41 -0400 (Sun, 19 Jun 2011) | 1 line scstadmin: Another return value consistency improvement ........ r3600 | bvassche | 2011-06-19 14:43:31 -0400 (Sun, 19 Jun 2011) | 1 line scstadmin: Minor source code simplification ........ r3603 | vlnb | 2011-06-20 16:40:32 -0400 (Mon, 20 Jun 2011) | 3 lines Fix crash on TP check, if file name is NULL ........ git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3604 d57e44dd-8a1f-0410-8b47-8ef2f437770f