Vladislav Bolkhovitin
7181d89244
Patch from Stanislaw Gruszka:
...
- pass FC transport error to SCST
- give SCST info about WWN of remote initiator
- info about expected transfer length and direction
- unifying printk error messages
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@145 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-10 16:39:38 +00:00
Vladislav Bolkhovitin
c3a9c36297
trace_buf_lock implemented
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-05 16:23:09 +00:00
Vladislav Bolkhovitin
f401303211
Added previously renamed (deleted) patches
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-05 14:39:37 +00:00
Vladislav Bolkhovitin
d219b55b8b
- Kernel patches were renamed (in this commit only deleted)
...
- VDISK_ONLY was removed, SCSI_EXEC_REQ_FIFO_DEFINED, defined by corresponding kernel patch used instead
- Minor fixes
- Docs updates
All users will need to revert old SCST kernel patch and apply the corresponding new one.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@142 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-05 14:37:36 +00:00
Vladislav Bolkhovitin
51e3149648
Separate block devices from non-block ones
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@141 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-05 14:20:17 +00:00
Vladislav Bolkhovitin
3ab4521950
Patch from Alessandro Premoli:
...
First, the problem: you cannot calculate sgv_max_local_order and
sgv_max_trans_order by excess and then compare them with
get_order(size). The maximum number of local (SG + trans) entries may be
112 (like in amd64 case) and you bzero 128 sg_entries for every
allocation request between 65 and 128 pages because the order is the
same. This is the reason why single transfers of (70 * PAGE_SIZE) =
~285k or more fail on amd64. On i386 the limit is higher, since you can
shrink more records in one page, and so it's very difficult to reach.
Now, the solution: I created a patch, which consists in decreasing
sgv_max_local_order and sgv_max_trans_order by 1.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-07-02 11:36:22 +00:00
Vladislav Bolkhovitin
772e541dd6
Fix of WARN_ON_ONCE() braindamage
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@139 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-29 09:41:09 +00:00
Vladislav Bolkhovitin
2eb776e47c
Patch from Alessandro Premoli fixes all the warnings of scst on 64-bit platforms
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@138 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-27 16:19:38 +00:00
Vladislav Bolkhovitin
b7004e4110
Minor debug changes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@137 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-27 10:41:44 +00:00
Vladislav Bolkhovitin
8912ae9e15
SCST page updated to list the QLogic ISP driver
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@136 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-25 17:19:35 +00:00
Vladislav Bolkhovitin
451443a6c8
Patch from Stanislaw Gruszka <stanislawg1@open-e.com>
...
This is SCST driver for ISP Qlogic chipsets commonly used in many SCSI and FC
host bus adapters. Supported chipset are listed in README file, incomplete
list of supported HBA's is in doc/Hardware.txt .
It is based on Matthew Jacob's multiplatform driver for ISP chipsets,
which can be download from ftp://ftp.feral.com/pub/isp/isp_dist.tgz
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@135 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-25 16:32:46 +00:00
Mark Buechler
5a261fcdd6
- Fixed applyConfiguration() to apply a full config in -ForceConfig mode
...
- Fixed device handler switches
- Fixed device assignment LUN changes
- Fixed handling of disabled handlers (like dev_disk, dev_cdrom, etc from compile time)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@134 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-22 18:23:12 +00:00
Mark Buechler
8de9a09bcf
- Version increment (almost forgot)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@133 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-21 17:30:34 +00:00
Mark Buechler
07517779d3
- Fixed applyConfiguration() to remove entries before adding new ones.
...
- Fixed changes and differences counts
- Added intelligence around virtual/physical/performance type devices
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-21 17:24:12 +00:00
Mark Buechler
d1a8a81d20
- Fixed closing a device with -RemoveDev
...
- Added BLOCKIO option support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@131 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-20 13:45:19 +00:00
Mark Buechler
f6ba07057d
- Updated for vdisk/vcdrom from disk_fileio/cdrom_fileio
...
- Added new errorString() method to SCST/SCST.pm containing
error message of last error encountered.
- Minor updates to scst_db - UNTESTED
- Changed SCST/SCST.pm to look for files like vdisk/vdisk instead
of vdisk/type to gather list of valid device handlers
- Minor bug fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-19 20:21:27 +00:00
Vladislav Bolkhovitin
c7748b916b
- Fixed race with wake_up()
...
- Some cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@129 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-15 09:02:57 +00:00
Vladislav Bolkhovitin
24922d550c
SVN access method changed to https://scst.svn.sourceforge.net/svnroot/scst
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@128 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-13 10:04:45 +00:00
Vladislav Bolkhovitin
d9b5ae3232
Minor threads related fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-08 14:08:06 +00:00
Vladislav Bolkhovitin
54710618be
Added limit on maximum queued on a device commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-08 10:54:18 +00:00
Vladislav Bolkhovitin
fc854f8279
- Threads made per-device
...
- Minor cleanups and fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-08 10:25:29 +00:00
Vladislav Bolkhovitin
2ac4d71738
Docs update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@124 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-01 15:05:54 +00:00
Vladislav Bolkhovitin
78b0dce0c2
Docs update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@123 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-01 11:11:19 +00:00
Vladislav Bolkhovitin
053ed51a93
Version changed to 0.9.6
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@122 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-31 17:13:27 +00:00
Vladislav Bolkhovitin
61b0176514
- Module scst_user and user space utility to test it added
...
- Support for per-target default security groups added
- FILEIO made multithreaded
- BLOCKIO made async
- Other improvements, fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-31 17:11:57 +00:00
Vladislav Bolkhovitin
581cb5cd4f
Support for per-target default security groups added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@120 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-31 17:10:55 +00:00
Vladislav Bolkhovitin
be5205f51a
Support for per-target default security groups added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@119 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-31 17:02:41 +00:00
Vladislav Bolkhovitin
1dd534e2aa
Some docs updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@118 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-31 15:13:13 +00:00
Vladislav Bolkhovitin
1c5144105c
Oops, "is" instead of "isn't"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@117 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-17 15:35:45 +00:00
Vladislav Bolkhovitin
ad50c22583
Linear search in the LUN translation routines scst_translate_lun()
...
and scst_mgmt_translate_lun() was changed to a hash-based one, thanks
to Michael G. Byrnes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@116 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-17 15:30:02 +00:00
Vladislav Bolkhovitin
2edf177f73
Minor fixes, cleanups and updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@115 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-17 14:45:18 +00:00
Vladislav Bolkhovitin
041696cfea
Internal REQUEST SENSE fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@114 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-08 09:26:48 +00:00
Vladislav Bolkhovitin
b3e8a3e270
Patch for 2.6.21. Patch 26_scst-2.6.18.patch also applies on 2.6.21, but a gap between .18 and .21 is too scaring ;)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@113 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-05-08 09:22:48 +00:00
Vladislav Bolkhovitin
b221fe690e
LOG_SELECT/SENSE stub added. Looks like it is more correct way to refuse those commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-27 14:46:22 +00:00
Vladislav Bolkhovitin
8ef28e5210
- SGV caching changed to be more space efficient
...
- pre_unreg_sess() added to struct scst_dev_type
- Minor fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@111 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-24 16:44:23 +00:00
Vladislav Bolkhovitin
b1ab670662
Version 0.9
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-24 14:31:15 +00:00
Vladislav Bolkhovitin
0ee6a983d0
Typo fixed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@109 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-16 15:43:37 +00:00
Vladislav Bolkhovitin
62b075c66d
Various fixes, cleanups updates and preparations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@108 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-03 15:44:44 +00:00
Vladislav Bolkhovitin
8f692614cf
dev_done() made generic, small generic parse() optimization and cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@107 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-03 14:51:18 +00:00
Vladislav Bolkhovitin
0733627b2c
Fixed depmod to work for the necessary kernel, not the current one
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@106 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-03 14:49:33 +00:00
Vladislav Bolkhovitin
3c1cf6c033
Parse() functions made generic
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-03 14:47:47 +00:00
Vladislav Bolkhovitin
3b449d4705
Copyrights updated, "-g" added in DEBUG mode
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-03 14:42:47 +00:00
Vladislav Bolkhovitin
d88d3897b5
Minor fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-04-02 10:55:55 +00:00
Vladislav Bolkhovitin
b61ab2848d
- D_SENSE value corrected
...
- REPORT DENSITY SUPPORT command added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-03-07 17:10:45 +00:00
Vladislav Bolkhovitin
8e69f4349a
- BLOCKIO made async
...
- Docs updates
- Debug logging improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@101 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-03-02 16:29:36 +00:00
Vladislav Bolkhovitin
5b4909133d
Fixed case, when resid == cmd->resp_data_len for real devices
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@100 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-03-02 15:06:55 +00:00
Vladislav Bolkhovitin
e94515231d
Mostly from Vu Pham:
...
- Use submit_bio() instead of generic_make_request
- Fixes case, when exported device blocksize >512
Seems, BLOCKIO works now, although the following not done yet:
1. BLOCKIO version vdisk_exec_verify(). It is basically the same as for the plain read, but it should read in own local data buffer and compare data with the command's ones, if requested.
2. There is a need for test on the underlying device with blocksize >512.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@99 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-02-28 12:55:35 +00:00
Vladislav Bolkhovitin
6e1cb95cce
Minor cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@98 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-02-22 11:53:35 +00:00
Vladislav Bolkhovitin
873d818cb8
BLOCKIO doc updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@97 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-02-22 10:54:32 +00:00
Vladislav Bolkhovitin
b4faadac03
Minor fixes from/inspired by Vu Pham
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@96 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-02-22 10:34:18 +00:00