Bart Van Assche
110af55391
/etc/init.d/scst: Clarify comments (merged r3996 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 18:47:35 +00:00
Bart Van Assche
6ae4c206e4
ib_srpt: Merge r4083:4086 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4087 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-21 18:17:38 +00:00
Bart Van Assche
d8209bd0be
ib_srpt: Update ChangeLog
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-21 17:56:48 +00:00
Bart Van Assche
3b2db8bb5a
ib_srpt: Merge r4045:4083 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4084 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-21 17:54:32 +00:00
Bart Van Assche
1f65365675
scstadmin: Add ISCSID_OPTIONS variable in /etc/default/scst (merged r4066 and r4073 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4074 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-16 10:26:22 +00:00
Bart Van Assche
98fa85ce0e
Merge scripts changes because of kernel.org reorganization from trunk (svn merge -r4047:4055 ../../scst/scripts)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4056 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-09 13:48:00 +00:00
Bart Van Assche
22ef9f6546
Make "/etc/init.d/scst status" exit with code 3 instead of 0 if SCST has not been started as required by the LSB (merge r4047 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4048 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-02 12:11:56 +00:00
Bart Van Assche
b2754da51f
srpt: Update test procedure (merge r4045 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4046 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-01 19:28:18 +00:00
Bart Van Assche
6d88abe7e7
scstadmin: Make /etc/init.d/scst work on openSUSE 12.1 (merge r4023 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-01 17:46:57 +00:00
Bart Van Assche
9a67bab4a7
fcst:
...
- Avoid that login triggers a crash.
- Add make release2debug / perf2debug / debug2release / debug2perf support.
- Complain when refusing login.
- RHEL 6 build fixes.
(Merged up to revision 4041 from trunk.)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4043 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-29 14:46:41 +00:00
Bart Van Assche
dca262062d
ib_srpt: Merge performance improvements and bug fixes from trunk (up to and including r4041).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4042 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-29 14:26:18 +00:00
Bart Van Assche
a597a9e292
Avoid that gcc 4.4 complains about missing terminating single quotes (merge r3974 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 10:01:29 +00:00
Vladislav Bolkhovitin
6f4d88bc32
Initialized merge tracking via "svnmerge" with revisions "1-4016" from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 02:23:09 +00:00
Vladislav Bolkhovitin
55fd2ba421
Rename 2.2.0.x to 2.2.x
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4021 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 02:18:52 +00:00
Bart Van Assche
ecf118d344
ib_srpt: Make change log more detailed (merge r4018 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4019 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-20 15:37:54 +00:00
Bart Van Assche
b7fb0ab1c4
ib_srpt: Add 2.2.0 release notes (merge r4015 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4016 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 19:40:31 +00:00
Bart Van Assche
9ba413d6c7
Should have been included in r4012
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4013 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:25:48 +00:00
Bart Van Assche
43d9db9580
ib_srpt: Add support for debug2release etc (merge r3759 and r3760 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4012 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:23:20 +00:00
Bart Van Assche
218fd3fbb1
disk_work.result is set by disk_cmd_done() and read by disk_exec().
...
Since there is a complete_all() / wait_for_completion() pair between both
accesses the volatile keyword is not necessary here (merge r3945 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4011 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:11:43 +00:00
Bart Van Assche
973fa97c51
qla2x00t: get rid of checkpatch complaints about spaces at the start of a line (merged r3496 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4010 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:09:41 +00:00
Bart Van Assche
5672f3a49c
Move spaces in long #warning/#error lines to the end of the previous line to shut up checkpatch (merge r3495 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:06:43 +00:00
Bart Van Assche
44ca94a822
Avoid that the checkpatch.pl script as included in Linux kernel 3.1
...
complains about min((int)(a), (int)(b)) that should be changed into
min_t(int, (a), (b)) (merge r3944 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4008 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:59:54 +00:00
Bart Van Assche
df35ddebf3
scst_sysfs.c: Convert spaces to tabs (merge r3494 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4007 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:58:21 +00:00
Bart Van Assche
c7803e79d4
Remove superfluous double quotes from around #warning messages because checkpatch 3.0 complains about these (merge r3789 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4006 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:54:15 +00:00
Bart Van Assche
ced51ffe97
svn merge -r3974:4004 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4005 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:15:56 +00:00
Bart Van Assche
65ac764067
ib_srpt: Change __constant_cpu_... into cpu_... since the latter are also evaluated at compile time (merge r3803 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4004 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:14:12 +00:00
Bart Van Assche
030f20f9b6
scstadmin: change version number from v3.0.0-pre1 into v2.2.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3997 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 13:23:42 +00:00
Bart Van Assche
e4724285a0
Remove obsolete iSCSI-SCST init scripts (merge r3564 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3995 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 12:43:37 +00:00
Bart Van Assche
bcf7cfa552
ib_srpt: Increase default value of srp_max_req_size from 2116 to 4148 bytes
...
(merge r3939 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3994 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:49:12 +00:00
Bart Van Assche
c7b3a09c2a
scst_local/procfs bug fix: don't include <scst_const.h> before <scst.h> or
...
SCST_VERSION_STRING will be incorrect because it gets defined before
CONFIG_SCST_PROC is defined. (merge r3489 and r3490 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3993 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:42:51 +00:00
Bart Van Assche
bdbcebf0ec
Only include <linux/version.h> if necessary (merge r3517 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:39:40 +00:00
Bart Van Assche
b3c1abf165
Change version number from 2.1.0-pre into 2.2.0-pre
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3988 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:22:15 +00:00
Bart Van Assche
500d36d1eb
Change version number from 2.1.0-pre into 2.2.0-pre
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3987 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:18:53 +00:00
Bart Van Assche
3c5d7bab09
Change version number from 2.1.0-pre into 2.2.0-pre
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:13:03 +00:00
Bart Van Assche
4d470f0534
iscsi-scst/doc/iscsi-scst-howto.txt: Update because of the scstadmin changes (merge r3582 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3985 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:02:31 +00:00
Bart Van Assche
497712d087
Change version number from 2.1.0-pre into 2.2.0-pre
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3984 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:01:04 +00:00
Bart Van Assche
ea4de63afc
Merge scstadmin from trunk. Hence add support for saving and restoring the ALUA state, unify the qla2x00t/iSCSI-SCST and SCST init scripts, compute the SCST handler kernel module list from /etc/scst.conf and add man pages for scstadmin, /etc/scst.conf and /etc/default/scst. (svn merge -r3389:3982 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scstadmin/Makefile Makefile)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3983 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 09:45:18 +00:00
Bart Van Assche
f9601efb4c
Created 2.2 branch as a copy of r3979 of the 2.1 branch
...
(https://scst.svn.sourceforge.net/svnroot/scst/branches/2.1.0.x ).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3981 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 08:36:01 +00:00
Bart Van Assche
741e29e16b
Correct merge information for r3960 (svn merge -c3960 https://scst.svn.sourceforge.net/svnroot/scst/trunk )
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3979 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 14:13:14 +00:00
Bart Van Assche
926b0a6159
Add files necessary to run the regression tests against the 3.0 kernel (svn merge -c3783 https://scst.svn.sourceforge.net/svnroot/scst/trunk )
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 14:11:50 +00:00
Bart Van Assche
7812ed3f52
qla2x_tgt: Remove trailing whitespace (svn merge -c3960 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts )
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3977 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 14:01:23 +00:00
Bart Van Assche
2e1347db27
Undo merging r3736 (svn merge -r3736:3735 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts )
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3976 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 13:56:43 +00:00
Bart Van Assche
9ca8fb0ba7
svn merge -r3389:3974 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3975 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 13:52:02 +00:00
Vladislav Bolkhovitin
26c783ac56
Merged revisions 3950,3958 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3950 | vlnb | 2011-12-01 21:46:33 -0500 (Thu, 01 Dec 2011) | 9 lines
According to SPC-4 in the PERSISTENT RESERVE IN full status descriptor
the format of byte 13 is defined as follows:
- The most significant four bits are SCOPE field.
- The least significant four bits are the TYPE field.
Make sure that that byte is filled in according to the specification.
BSD-Signed-off-by: Bart Van Assche <bvanassche@acm.org >
........
r3958 | vlnb | 2011-12-06 21:56:31 -0500 (Tue, 06 Dec 2011) | 21 lines
We try to build FC SAN on Sun T2 server, FC HBA cards used are
QLE2560 and QLE2562, the OS is RHEL6.0 with kernel linux-2.6.32,
scst code version from svn is 3952.
As T2 (SPARC64) is big-endian, which may not be tested sufficently,
we had to fix some endian swap to make qla2x00t work good on it.
The first fix is in q24_build_ctio_pkt(), loop_id from prm->cmd, which
was generated by CPU, should be converted to little-endian when wrapped
in pkt, which will be used by HBA ASIC.
The second fix in qla2x_tgt_def.h, reorder the bit-order of structs'
member, is an attempt in despair, cannot explain why, but it just works!
Besides the programming skills, we cannot get QLogic FC HBA databook,
and have little acknowledge about the driver, the fixes may need to
be refined, so don't hold the comments :)
Signed-off-by: Linwen Deng <linwendeng@gmail.com >
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3974 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:28:03 +00:00
Vladislav Bolkhovitin
cc5159a340
Merged revisions 3937-3940 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3937 | vlnb | 2011-11-22 21:34:09 -0500 (Tue, 22 Nov 2011) | 6 lines
Instead of repeating the same name lookup several times, use vdev_find()
where appropriate.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
........
r3938 | vlnb | 2011-11-22 21:35:44 -0500 (Tue, 22 Nov 2011) | 37 lines
Avoid that a warning like the one below is triggered when adding
a nullio, fileio or blockio device with a name that already exists:
WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0x95/0xd0()
sysfs: cannot create duplicate filename '/kernel/scst_tgt/devices/disk09'
Call Trace:
warn_slowpath_common+0x72/0xa0
? sysfs_add_one+0x95/0xd0
? sysfs_add_one+0x95/0xd0
warn_slowpath_fmt+0x33/0x40
sysfs_add_one+0x95/0xd0
create_dir+0x61/0xa0
sysfs_create_dir+0x71/0xb0
kobject_add_internal+0x9b/0x250
? kvasprintf+0x41/0x50
kobject_init_and_add+0x39/0x60
scst_dev_sysfs_create+0x6e/0x250 [scst]
scst_register_virtual_device+0x1f4/0x3e0 [scst]
vdev_nullio_add_device+0x14f/0x1c0 [scst_vdisk]
? vdisk_add_nullio_device+0x5a/0x110 [scst_vdisk]
vdisk_add_nullio_device+0xf1/0x110 [scst_vdisk]
? scst_check_grab_devt_ptr.clone.0+0xa8/0x170 [scst]
scst_process_devt_mgmt_store+0xa9/0x2a0 [scst]
? spin_unlock.clone.11+0x12/0x20 [scst]
scst_devt_mgmt_store_work_fn+0x13/0x20 [scst]
scst_process_sysfs_works+0x7f/0x170 [scst]
? spin_lock.clone.10+0x12/0x20 [scst]
sysfs_work_thread_fn+0x103/0x270 [scst]
? wake_up_bit+0x30/0x30
? prepare_to_wait_exclusive_head.clone.16+0x60/0x60 [scst]
kthread+0x84/0x90
? __init_kthread_worker+0x60/0x60
kernel_thread_helper+0x6/0x10
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
........
r3939 | vlnb | 2011-11-22 21:53:09 -0500 (Tue, 22 Nov 2011) | 3 lines
Check error code of path_lookup() on pre-39 kernels. Suggested by Lev Vainblat <lev@zadarastorage.com >
........
r3940 | vlnb | 2011-11-29 17:00:23 -0500 (Tue, 29 Nov 2011) | 66 lines
Fixes problem reported by Lev Vainblat <lev@zadarastorage.com >:
The access to the session sysfs during logout may lead to the kernel oops. In iscsi_unreg_sess_done() the iscsi_session is freed, so scst_sess->tgt_priv (that previously pointed to the iscsi_session) becomes stale. The session is still accessible in sysfs until scst_sess_sysfs_del() call, but accessing to the session via sysfs may return invalid values or crash the kernel:
$ cat /sys/kernel/scst_tgt/targets/iscsi/T1/sessions/iqn.2011-04.com.zadarastorage:316:vc-0/sid
10000123d0200
[ 178.769460] iscsi-scst[895] logout_exec[2718]: Logout received from initiator iqn.2011-04.com.zadarastorage:316:vc-0
[ 178.769482] iscsi-scst[897] cmnd_tx_end[2900]: Closing connection at initiator's iqn.2011-04.com.zadarastorage:316:vc-0 request
[ 178.769546] scst: TM fn 6
[ 178.769623] scst: TM fn 6 finished, status 0
[ 178.770075] scst[1645] scst_cmd_thread[4379]: Processing thread D10_0 (PID 1645) finished
[ 178.770111] scst[1646] scst_cmd_thread[4379]: Processing thread D10_1 (PID 1646) finished
[ 178.770131] scst[1647] scst_cmd_thread[4379]: Processing thread D10_2 (PID 1647) finished
[ 178.770150] scst[1648] scst_cmd_thread[4379]: Processing thread D10_3 (PID 1648) finished
[ 178.770168] scst[1649] scst_cmd_thread[4379]: Processing thread D10_4 (PID 1649) finished
[ 178.770186] scst[1650] scst_cmd_thread[4379]: Processing thread D10_5 (PID 1650) finished
[ 178.770204] scst[1651] scst_cmd_thread[4379]: Processing thread D10_6 (PID 1651) finished
[ 178.770223] scst[1652] scst_cmd_thread[4379]: Processing thread D10_7 (PID 1652) finished
$ cat /sys/kernel/scst_tgt/targets/iscsi/T1/sessions/iqn.2011-04.com.zadarastorage:316:vc-0/sid
0
$ echo 1> /sys/kernel/scst_tgt/targets/iscsi/T1/sessions/iqn.2011-04.com.zadarastorage:316:vc-0/force_close
[ 193.150420] iscsi-scst[1555] iscsi_sess_force_close[389]: Deleting session 0 with initiator (null) (ffff880078316000)
[ 193.150461] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 193.150545] IP: [<ffffffffa034d034>] iscsi_sess_force_close+0xc4/0x170 [iscsi_scst]
[ 193.150628] PGD 78218067 PUD 79666067 PMD 0
[ 193.150678] Oops: 0000 [#1 ] SMP
[ 193.150716] last sysfs file: /sys/kernel/scst_tgt/targets/iscsi/T1/sessions/iqn.2011-04.com.zadarastorage:316:vc-0/force_close
[ 193.150824] CPU 0
[ 193.150844] Modules linked in: ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi dm_iostat scst_vdisk iscsi_scst scst libcrc32c nfsd psmouse exportfs serio_raw virtio_ball oon nfs lockd fscache nfs_acl auth_rpcgss i2c_piix4 sunrpc lp parport floppy raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov ixgbevf raid6_pq async_tx raid1 raid0 multipath linear [last unloaded: scsi_transport_is csi]
[ 193.151359]
[ 193.151377] Pid: 1555, comm: bash Not tainted 2.6.38-8-server #42-Ubuntu Bochs Bochs
[ 193.151456] RIP: 0010:[<ffffffffa034d034>] [<ffffffffa034d034>] iscsi_sess_force_close+0xc4/0x170 [iscsi_scst]
[ 193.151556] RSP: 0018:ffff88007a247e28 EFLAGS: 00010287
[ 193.151604] RAX: 000000000000007f RBX: fffffffffffffe30 RCX: 000000000003ffff
[ 193.153372] RDX: 0000000000000000 RSI: 0000000000000086 RDI: 0000000000000246
[ 193.155115] RBP: ffff88007a247e68 R08: 0000000000000036 R09: 000000000000b874
[ 193.156878] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8800783170a0
[ 193.158640] R13: ffff88007a247fd8 R14: ffff88007828c4a0 R15: ffff880078573600
[ 193.160112] FS: 00007f9d23092720(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
[ 193.160112] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 193.160112] CR2: 0000000000000000 CR3: 00000000787e6000 CR4: 00000000000006f0
[ 193.160112] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 193.160112] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 193.160112] Process bash (pid: 1555, threadinfo ffff88007a246000, task ffff88007828c4a0)
[ 193.160112] Stack:
[ 193.160112] 0000000000000000 ffff880078316000 0000000000000000 0000000000000000
[ 193.160112] ffff880078316000 0000000000000001 ffff8800370ea5a0 ffffffffa02de9c0
[ 193.160112] ffff88007a247e88 ffffffffa034d138 ffff880078573620 ffff88007a247f48
[ 193.160112] Call Trace:
[ 193.160112] [<ffffffffa034d138>] iscsi_sess_force_close_store+0x58/0xd0 [iscsi_scst]
[ 193.160112] [<ffffffffa02bf31c>] scst_store+0x1c/0x20 [scst]
[ 193.160112] [<ffffffff811d35f1>] sysfs_write_file+0xd1/0x160
[ 193.160112] [<ffffffff811652e6>] vfs_write+0xc6/0x180
[ 193.160112] [<ffffffff81165601>] sys_write+0x51/0x90
[ 193.160112] [<ffffffff8100bfc2>] system_call_fastpath+0x16/0x1b
[ 193.160112] Code: 1f 84 00 00 00 00 00 f6 05 ea ef 00 00 08 75 68 48 89 df be 03 00 00 00 e8 ca d3 ff ff 48 8b 9b d0 01 00 00 48 81 eb d0 01 00 00 <48> 8b 83 d0 01 00 00 0f 18 08 48 8d 83 d0 01 00 00 4c 39 e0 75
[ 193.160112] RIP [<ffffffffa034d034>] iscsi_sess_force_close+0xc4/0x170 [iscsi_scst]
[ 193.160112] RSP <ffff88007a247e28>
[ 193.160112] CR2: 0000000000000000
[ 193.200380] ---[ end trace 1988466f0a8da036 ]---
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:26:46 +00:00
Vladislav Bolkhovitin
dadceece11
Merged revisions 3929 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3929 | bvassche | 2011-11-17 04:24:12 -0500 (Thu, 17 Nov 2011) | 1 line
regtests: Add files necessary for Linux kernel 3.1
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3972 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:24:21 +00:00
Vladislav Bolkhovitin
4023e12c40
Merged revisions 3909,3917,3923,3935 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3909 | vlnb | 2011-11-04 17:34:10 -0400 (Fri, 04 Nov 2011) | 3 lines
Fix build without CONFIG_SCSI_QLA2XXX_TARGET
........
r3917 | vlnb | 2011-11-08 21:47:23 -0500 (Tue, 08 Nov 2011) | 4 lines
task_mgmt_fn() callback now called under lock and IRQs disabled, so we
need to reschedule to thread during commands unjamming
........
r3923 | vlnb | 2011-11-15 20:53:27 -0500 (Tue, 15 Nov 2011) | 3 lines
Fix incorrect attach_tgt() errors processing in the sysfs build reported by David Pineau <dav.pineau@gmail.com >
........
r3935 | vlnb | 2011-11-22 21:14:38 -0500 (Tue, 22 Nov 2011) | 3 lines
Report target name when session assigned to security group
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3971 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:22:53 +00:00
Vladislav Bolkhovitin
7dab47749e
Merged revisions 3926 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3926 | vlnb | 2011-11-16 14:21:30 -0500 (Wed, 16 Nov 2011) | 4 lines
Those patches were mistakenly generated for patch -p0. Fix it. Thanks
Bart Van Assche for reporting it.
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3970 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:20:11 +00:00
Vladislav Bolkhovitin
c9d1fbde31
Merged revisions 3902 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3902 | vlnb | 2011-10-27 15:11:40 -0400 (Thu, 27 Oct 2011) | 3 lines
Update for kernel 3.1
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3969 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:18:58 +00:00
Vladislav Bolkhovitin
114f8e8f5e
Merged revisions 3888 via svnmerge from
...
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk
........
r3888 | bvassche | 2011-10-05 12:27:25 -0400 (Wed, 05 Oct 2011) | 1 line
scst/README: Add a note about how ESX works with t10_dev_id
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3968 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:14:06 +00:00