From da67ebf3b82ede6dacf8ae30b21661ee00ea9fec Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 17 Nov 2011 03:46:28 +0000 Subject: [PATCH] Blocked revisions 3844,3847,3850,3853-3859,3863,3866-3867,3869-3870,3872,3875-3877,3879,3882-3892,3894-3901,3903-3907,3910-3911,3914-3916,3918-3922,3924-3925,3927 via svnmerge ........ r3844 | bvassche | 2011-09-07 14:52:46 -0400 (Wed, 07 Sep 2011) | 5 lines scst_vdisk, thin provisioning: unmap the largest range possible even if the upper bound of the range is not a multiple of PAGE_CACHE_SIZE. This is a follow-up for r3799 and removes the PRINT_ERROR() statement introduced in that revision. ........ r3847 | bvassche | 2011-09-07 15:03:06 -0400 (Wed, 07 Sep 2011) | 1 line ib_srpt: Remove to-do list because outdated ........ r3850 | vlnb | 2011-09-07 22:17:01 -0400 (Wed, 07 Sep 2011) | 3 lines Web updates ........ r3853 | bvassche | 2011-09-17 11:17:41 -0400 (Sat, 17 Sep 2011) | 1 line ib_srpt: Make error reporting more detailed ........ r3854 | bvassche | 2011-09-17 11:19:45 -0400 (Sat, 17 Sep 2011) | 1 line ib_srpt: Mask off AGN_MASK bits before invoking ib_cm_listen() ........ r3855 | bvassche | 2011-09-17 11:21:07 -0400 (Sat, 17 Sep 2011) | 1 line ib_srpt: Relax a WARN_ON() statement such that it doesn't fire needlessly ........ r3856 | bvassche | 2011-09-17 11:22:13 -0400 (Sat, 17 Sep 2011) | 1 line ib_srpt: Make srpt_release_sdev() logging more informative ........ r3857 | bvassche | 2011-09-17 11:23:36 -0400 (Sat, 17 Sep 2011) | 1 line ib_srpt: Don't wait forever for the Last WQE event ........ r3858 | bvassche | 2011-09-17 11:24:37 -0400 (Sat, 17 Sep 2011) | 1 line ib_srpt: Make sure that rmmod finishes ........ r3859 | bvassche | 2011-09-17 11:38:09 -0400 (Sat, 17 Sep 2011) | 1 line Fix a typo introduced in r3858 ........ r3863 | vlnb | 2011-09-17 20:58:15 -0400 (Sat, 17 Sep 2011) | 34 lines Patch from Abhilash Sankar with some fixes Issue: ------------ The DevRegAttribute is sending a different Source Attribute (ISCSI name) which represents the Storage Node for each target. So Microsoft isns server considers the last request as the storage node and doesn't discover the previous targets. Root Cause ---------------- Function ISNS_FUNC_DEV_ATTR_REG Target A Source attribute ISCSI-Name = Operating Attribute ISCSI-Name = Flags Replace Access = 1 Target B Source attribute ISCSI-Name = Operating Attribute ISCSI-Name = Replace Access = 1 So as per the request format Microsoft isns Server always takes the last target as the source node. and register the same. Hence it doesn't discover the targets other than last one. The Source Attribute has to be fixed for all targets. It would be better if we use the first target iscsi name (rather than the last target iscsi name) as source attribute iscsi name to represent the storage node. ........ r3866 | bvassche | 2011-09-18 03:38:37 -0400 (Sun, 18 Sep 2011) | 1 line ib_srpt: Reduce the Last WQE wait time ........ r3867 | bvassche | 2011-09-18 04:01:29 -0400 (Sun, 18 Sep 2011) | 1 line Follow-up for r3866 ........ r3869 | bvassche | 2011-09-18 07:04:10 -0400 (Sun, 18 Sep 2011) | 1 line ib_srpt: Show the state name in debug messages ........ r3870 | bvassche | 2011-09-18 07:15:17 -0400 (Sun, 18 Sep 2011) | 6 lines ib_srpt: Fix "rejected SRP_LOGIN_REQ because creating a new RDMA channel failed" Fix two race conditions that could trigger this failure: - Completion thread not woken up after channel state change. - Reception of Last WQE event before the channel queue pair was reset. ........ r3872 | bvassche | 2011-09-18 08:23:13 -0400 (Sun, 18 Sep 2011) | 1 line ib_srpt: Remove a superfluous __srpt_close_ch() call ........ r3875 | bvassche | 2011-09-22 13:49:04 -0400 (Thu, 22 Sep 2011) | 1 line ib_srpt: Clean up two PRINT_ERROR() statements ........ r3876 | bvassche | 2011-09-22 13:49:45 -0400 (Thu, 22 Sep 2011) | 1 line ib_srpt: Remove an outdated comment ........ r3877 | bvassche | 2011-09-22 13:51:19 -0400 (Thu, 22 Sep 2011) | 1 line ib_srpt: Avoid that the cleanup code invoked after rejecting a new initiator connection triggers a race condition ........ r3879 | bvassche | 2011-09-24 10:11:39 -0400 (Sat, 24 Sep 2011) | 1 line scst, latency statistics: Introduce timespec_to_ns(). ........ r3882 | vlnb | 2011-09-27 22:07:50 -0400 (Tue, 27 Sep 2011) | 3 lines Change reporting processed_cmds to unsigned as suggested by ido benda ........ r3883 | vlnb | 2011-09-27 22:18:44 -0400 (Tue, 27 Sep 2011) | 5 lines Micro-optimize scst_unpack_lun(): avoid comparing "len" twice with the constant "2". Signed-off-by: Bart Van Assche ........ r3884 | bvassche | 2011-09-28 12:38:27 -0400 (Wed, 28 Sep 2011) | 4 lines scst, latency statistics: - Use 64 bits instead of 32 for each "processed commands" counter. - Make sure there is at least one space between adjacent columns. ........ r3885 | bvassche | 2011-09-28 13:42:50 -0400 (Wed, 28 Sep 2011) | 1 line Nightly build: include the latency measuring code ........ r3886 | vlnb | 2011-10-04 22:08:51 -0400 (Tue, 04 Oct 2011) | 3 lines Limit max unmap LBA count to device size ........ r3887 | vlnb | 2011-10-04 22:11:19 -0400 (Tue, 04 Oct 2011) | 3 lines Prevent reverse order of management commands ........ r3889 | bvassche | 2011-10-05 12:34:09 -0400 (Wed, 05 Oct 2011) | 1 line srpt/README: Add note about DEVICE.threads_num ........ r3890 | bvassche | 2011-10-05 13:14:23 -0400 (Wed, 05 Oct 2011) | 1 line scst: Add script for rebuilding RHEL / CentOS / Scientific Linux kernel RPMs ........ r3891 | bvassche | 2011-10-05 13:15:39 -0400 (Wed, 05 Oct 2011) | 1 line Set executable property ........ r3892 | bvassche | 2011-10-08 07:08:55 -0400 (Sat, 08 Oct 2011) | 1 line Reran performance measurements ........ r3894 | bvassche | 2011-10-10 04:27:27 -0400 (Mon, 10 Oct 2011) | 2 lines scst_vdisk, vdev_sysfs_process_get_filename(): Make sure that dev->dev_unregistering is reread from memory in each loop iteration. Note: the now removed "(volatile bool)" cast did not have any effect. ........ r3895 | bvassche | 2011-10-10 05:23:32 -0400 (Mon, 10 Oct 2011) | 4 lines scst_vdisk, blockio: Add write-through (FUA) support. From: Etienne Dechamps ........ r3896 | vlnb | 2011-10-10 23:13:18 -0400 (Mon, 10 Oct 2011) | 4 lines Reverse r3894, because it is incorrect. There is no order dependency between CPUs here, so there's no need in the corresponding fence command. ........ r3897 | bvassche | 2011-10-20 12:59:15 -0400 (Thu, 20 Oct 2011) | 1 line ib_srpt: Make the error message about rejected login more clear ........ r3898 | vlnb | 2011-10-24 18:16:42 -0400 (Mon, 24 Oct 2011) | 3 lines Make usage of scst_suspend_activity() more flexible by making its timeout be explicit ........ r3899 | bvassche | 2011-10-25 14:05:57 -0400 (Tue, 25 Oct 2011) | 6 lines ib_srpt: Avoid stopping polling too early for IB completions. This resulted in unnecessary complaints about IB completions not being received in time when removing the ib_srpt kernel module during I/O. Note: it is still possible that such complaints occur, but much less frequent. ........ r3900 | bvassche | 2011-10-26 13:42:37 -0400 (Wed, 26 Oct 2011) | 1 line ib_srpt: Avoid a sporadic 160s delay when a session is unregistered or when removing the ib_srpt kernel module during I/O ........ r3901 | vlnb | 2011-10-26 15:32:58 -0400 (Wed, 26 Oct 2011) | 3 lines Fix incorrect handling of jiffies wrap around as pointed out by Bart Van Assche. ........ r3903 | bvassche | 2011-10-30 08:29:45 -0400 (Sun, 30 Oct 2011) | 1 line ib_srpt: Remove an unused struct member ........ r3904 | bvassche | 2011-10-30 08:33:42 -0400 (Sun, 30 Oct 2011) | 1 line ib_srpt: Reduce number of kmalloc() calls per I/O ........ r3905 | bvassche | 2011-10-30 09:41:46 -0400 (Sun, 30 Oct 2011) | 2 lines ib_srpt: Further reduce number of kmalloc() calls per I/O ........ r3906 | vlnb | 2011-11-03 22:24:35 -0400 (Thu, 03 Nov 2011) | 3 lines Remove dead target ........ r3907 | bvassche | 2011-11-04 14:35:37 -0400 (Fri, 04 Nov 2011) | 4 lines ib_srpt: Make srpt_alloc_ioctx_ring() return NULL instead of a dangling pointer if allocation fails. Reported by Dan Carpenter on the linux-rdma@vger.kernel.org mailing list. ........ r3910 | vlnb | 2011-11-04 18:03:56 -0400 (Fri, 04 Nov 2011) | 6 lines Implement building qla2xxx out of the kernel tree. For that BUILD_2X_MODULE=y should be passed to make. New module named qla2xxx_scst. Obviously, to have it working, the original qla2xxx should be either blacklisted, or removed from the target system. ........ r3911 | bvassche | 2011-11-06 05:35:24 -0500 (Sun, 06 Nov 2011) | 1 line ib_srpt: Simplify last WQE processing ........ r3914 | bvassche | 2011-11-07 15:04:26 -0500 (Mon, 07 Nov 2011) | 1 line ib_srpt: Make max_rsp_size writable ........ r3915 | bvassche | 2011-11-07 15:09:42 -0500 (Mon, 07 Nov 2011) | 1 line ib_srpt: Make srpt_srq_size writable ........ r3916 | bvassche | 2011-11-08 14:50:31 -0500 (Tue, 08 Nov 2011) | 1 line ib_srpt: Change one occurrence of WARN_ON() into __WARN(). ........ r3918 | mgandalf | 2011-11-11 12:50:08 -0500 (Fri, 11 Nov 2011) | 1 line Fixed minor config file bug pointed out by Bart Van Assche. ........ r3919 | bvassche | 2011-11-13 05:04:55 -0500 (Sun, 13 Nov 2011) | 1 line ib_srpt: Increase default value of srp_max_req_size from 2116 to 4148 bytes. ........ r3920 | bvassche | 2011-11-15 14:06:36 -0500 (Tue, 15 Nov 2011) | 2 lines ib_srpt: Reduce the I/O overhead slightly ........ r3921 | vlnb | 2011-11-15 19:00:40 -0500 (Tue, 15 Nov 2011) | 4 lines Fixes possible NULL cmd dereference in vdisk_fsync() noticed by Bart Van Assche + possible calls of VERIFY commands for BLOCKIO devices ........ r3922 | vlnb | 2011-11-15 19:04:57 -0500 (Tue, 15 Nov 2011) | 3 lines Fixes reporting to BLOCKIO devices fsync() errors, noticed by Bart Van Assche ........ r3924 | bvassche | 2011-11-16 13:50:24 -0500 (Wed, 16 Nov 2011) | 1 line regtests: Reflect kernel.org directory tree changes ........ r3925 | bvassche | 2011-11-16 14:05:45 -0500 (Wed, 16 Nov 2011) | 1 line regtests: Update kernel versions now that kernel.org has been restored. ........ r3927 | bvassche | 2011-11-16 14:49:44 -0500 (Wed, 16 Nov 2011) | 1 line regtest: Another update because of the kernel.org directory structure changes ........ git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3928 d57e44dd-8a1f-0410-8b47-8ef2f437770f