Commit Graph

  • 308aca8883 Fix memory leak in __blk_rq_map_kern_sg() reported by "Hauser, Stefan" <stefan.hauser@bdt.de> Vladislav Bolkhovitin 2010-11-26 15:07:35 +00:00
  • f4da51e7b7 Follow-up for r2837: fixed a typo. Bart Van Assche 2010-11-26 14:42:24 +00:00
  • 515fda68cf This patch simplifies the string duplication code in scst_sysfs.c and scst_vdisk.c. Code for duplicating '\0'-terminated strings has been replaced by a call to kstrdup() and code for duplicating fixed-length strings has been replaced by a call to kasprintf(GFP_KERNEL, "%.*s", (int)size, buf). Vladislav Bolkhovitin 2010-11-26 14:05:29 +00:00
  • 2935a05765 Use queue's max_hw_sectors instead of host->max_sectors as reported by "Hauser, Stefan" <stefan.hauser@bdt.de> Vladislav Bolkhovitin 2010-11-26 14:03:39 +00:00
  • db35095aa1 Fixed a recently introduced sparse warning that was triggered against kernel 2.6.28 and before. Bart Van Assche 2010-11-26 08:46:16 +00:00
  • 2170d47abc This patch makes it possible for lockdep to recognize activity suspending and resuming. Vladislav Bolkhovitin 2010-11-25 20:41:53 +00:00
  • 69c9e393e5 Fixed recently introduced checkpatch complaints about whitespace. Bart Van Assche 2010-11-25 09:58:09 +00:00
  • 714461dd04 scst/sysfs: Eliminated a superfluous string copy operation in the acess control group creation code. Bart Van Assche 2010-11-25 09:32:34 +00:00
  • d30313e587 scst/sysfs: Added missing terminating newline in a sysfs help text. Bart Van Assche 2010-11-25 09:19:33 +00:00
  • 649fef691e Changes to make fcst work on Linux 2.6.36. Joe Eykholt 2010-11-25 01:16:18 +00:00
  • 1dce4e0ade EXPERIMENTAL! patch to improve keeping S_ID/LOOP_ID/PortName mapping handling. Only slightly tested. Vladislav Bolkhovitin 2010-11-24 20:37:01 +00:00
  • 9f6db631d1 scst/sysfs: Bug fix - made sure that the proper LUN number is available in sysfs on big endian systems. Bart Van Assche 2010-11-24 13:29:21 +00:00
  • 078c37afe0 Docs cleanups Vladislav Bolkhovitin 2010-11-24 12:00:24 +00:00
  • 8113a4f3dc Removed again because apparently fcst doesn't build yet with the 2.6.36 kernel. Bart Van Assche 2010-11-23 19:12:49 +00:00
  • bda6f0043b Added to repository. Bart Van Assche 2010-11-23 19:06:14 +00:00
  • ac5618b07e Adding patches for 2.6.36. These are similar to the 2.6.35 patches except for line number changes and a few interface changes imposed by differences in libfc between 2.6.35 and 2.6.36, mostly due to the change which doesn't allocate an exchange and sequence for incoming requests. Joe Eykholt 2010-11-23 17:56:35 +00:00
  • 50661013c4 Updated kernel versions. Bart Van Assche 2010-11-23 09:52:48 +00:00
  • ff7a986329 Add an fcoe patch for 2.6.35 to not deliver frames to fcst from softirq level. I believe this was causing a race leading to a WARN in fc_seq_send that the sequence initiative wasn't held in ft_send_response(). It also caused a problem for tcm_fc. Joe Eykholt 2010-11-21 22:38:03 +00:00
  • 2e9f15f2d7 Some ibmvstgt patch description improvements Vladislav Bolkhovitin 2010-11-18 20:33:14 +00:00
  • 24fb3c53b0 Sysfs interface ABI implementation as requested by Greg KH Vladislav Bolkhovitin 2010-11-18 20:33:01 +00:00
  • 184fd83fc3 ibmvstgt: Updated patch description once more. Bart Van Assche 2010-11-17 19:53:09 +00:00
  • 5155b4561c Merge of the trunk's r2744: Vladislav Bolkhovitin 2010-11-17 19:50:57 +00:00
  • 3e298c2e4e Fix compilation if target mode support disabled Vladislav Bolkhovitin 2010-11-17 19:48:32 +00:00
  • b88213bb5b ibmvstgt: Corrected README.sysfs. Bart Van Assche 2010-11-17 19:43:22 +00:00
  • 6a125e268c ibmvstgt updates: Corrected last argument of scst_rx_cmd() / updated a comment. Bart Van Assche 2010-11-17 19:40:20 +00:00
  • 2eabb7e89b Switched from I/O engine sync to psync because the latter has a slightly lower system call overhead. Bart Van Assche 2010-11-17 19:24:38 +00:00
  • 6ce1ecf9d8 - Warn on missing /etc/scst.conf. Mark Buechler 2010-11-17 14:56:37 +00:00
  • 5e5478ecae - Permit init scripts to run and load modules even if /etc/scst.conf doesn't yet exist. Mark Buechler 2010-11-17 14:51:57 +00:00
  • 1633190a4a scst: Only enable sysfs-specific variables in the sysfs build and not in the procfs build. This commit does not change any behavior of SCST. Bart Van Assche 2010-11-17 14:18:31 +00:00
  • 5512203ffc scst: Builds now against the openSUSE 11.3 kernel too, which is a 2.6.34 kernel with selective backports from the 2.6.35 kernel. (Merged r2719 from the ibmvstgt-port branch.) Bart Van Assche 2010-11-17 14:06:40 +00:00
  • 479a519d11 Added missing sparse annotations to scst_process_sysfs_works(). (Merged r2723 from the ibmvstgt-port branch.) Bart Van Assche 2010-11-17 13:56:56 +00:00
  • 53aeecee1b Merge of the trunk's r2725: Vladislav Bolkhovitin 2010-11-17 12:51:32 +00:00
  • 30e14c9e7c Max_sectors related error made more clear Vladislav Bolkhovitin 2010-11-17 12:48:21 +00:00
  • 52820b5d57 Cleanup Vladislav Bolkhovitin 2010-11-17 11:40:08 +00:00
  • 018e5db220 ib_srpt: Made instructions in the documentation independent of the scstadmin version. (Merged r2717 from the trunk.) Bart Van Assche 2010-11-16 19:20:56 +00:00
  • 900a70d873 ib_srpt: Made instructions in the documentation independent of the scstadmin version. Bart Van Assche 2010-11-16 19:16:48 +00:00
  • 0e225ebdf4 Patch from Cheng Renquan <crquan@gmail.com> Vladislav Bolkhovitin 2010-11-16 18:41:28 +00:00
  • 9d7859a04a ib_srpt: Made sure that accessing sysfs entries during target creation is harmle ss. (Merged r2703 from the trunk.) Bart Van Assche 2010-11-16 11:33:37 +00:00
  • 988147c48b - Apply target attributes before assigning LUNs. - Always enable/disable targets and drivers last. Mark Buechler 2010-11-15 15:55:39 +00:00
  • e66128f414 Added yet another pattern to the preprocessor statement partial evaluation engine. Bart Van Assche 2010-11-14 16:16:15 +00:00
  • b28125eb9e Fixed more spelling errors in source code comments and logging statements. Bart Van Assche 2010-11-14 16:02:55 +00:00
  • 662197f200 ibmvstgt: Made sure that accessing sysfs entries during target creation is harmless. Bart Van Assche 2010-11-14 09:32:32 +00:00
  • 83a967d3a3 ib_srpt: Made sure that accessing sysfs entries during target creation is harmless. Bart Van Assche 2010-11-14 09:32:03 +00:00
  • a46907c720 Fixed a typo in source code comments: attepts -> attempts. Bart Van Assche 2010-11-14 08:29:00 +00:00
  • b4d9a93a0c Merge scstadmin from trunk. Mark Buechler 2010-11-14 03:05:48 +00:00
  • 3705114629 - Return 0 from applyConfiguration() so scstadmin can exit 0 on success. Mark Buechler 2010-11-14 03:04:45 +00:00
  • d82145649d ib_srpt: Builds again on RHEL 5 (disable_proc; merged r2695 from the trunk). Bart Van Assche 2010-11-13 22:30:40 +00:00
  • 6297569bce ib_srpt: Builds again on RHEL 5 (enable_proc). Bart Van Assche 2010-11-13 22:29:12 +00:00
  • cad6ad557d Two more spelling fixes (in source code comments). Bart Van Assche 2010-11-13 17:35:35 +00:00
  • 6af52138f9 Spelling fix for a debug trace statement. Bart Van Assche 2010-11-13 17:33:12 +00:00
  • 7ea0f52811 ib_srpt: Converted req_lim and req_lim_delta from device-specific attributes into session-specific attributes. (Merged r2692 from the trunk.) Bart Van Assche 2010-11-13 17:32:33 +00:00
  • f14f14a31e ib_srpt: Converted req_lim and req_lim_delta from device-specific attributes into session-specific attributes, which makes a lot more sense. Bart Van Assche 2010-11-13 17:28:18 +00:00
  • e1066553c8 The return value of scst_tgt_get_tgt_priv() in sysfs methods must be checked because at least in theory it is possible that scst_tgt_get_tgt_priv() is invoked before scst_register_target() returns. The patch below implements such a check and also removes some superfluous casts. Vladislav Bolkhovitin 2010-11-13 17:27:02 +00:00
  • bab68da2dd iscsi-scst: Fixed a compiler warning in the user space code (merged r2107 from the trunk). Bart Van Assche 2010-11-13 15:49:29 +00:00
  • ebd3b46c66 ib_srpt: Made sure that no credits are lost because of SCSI task abortion. ib_srpt: Exported req_lim and req_lim_delta values via sysfs because this is convenient for debugging purposes. (Merged revisions 2686 and 2688 from the trunk.) Bart Van Assche 2010-11-13 15:11:11 +00:00
  • 7025e1a732 Should have been included in r2686. Bart Van Assche 2010-11-13 14:58:11 +00:00
  • e0ca9738d9 Yet another patch description update. Bart Van Assche 2010-11-13 14:40:50 +00:00
  • 79a4dcc4e5 ib_srpt: Made sure that no credits are lost because of SCSI task abortion. ib_srpt: Exported req_lim and req_lim_delta values via sysfs because this is convenient for debugging purposes. Bart Van Assche 2010-11-13 14:38:44 +00:00
  • ec1c78413a More patch description updates. Bart Van Assche 2010-11-13 13:54:20 +00:00
  • 4a6d63f71a Updated patch descriptions. Bart Van Assche 2010-11-13 12:53:29 +00:00
  • 2c613896b3 scst/sysfs: Added missing newline at the end of the LUN management help text. scst/sysfs: Changed data type of mgmt help texts from 'char *' into 'static const char[]' because the latter is preferred for Linux kernel code. scst/sysfs: Changed indentation of the variables declared in scst_tgtt_mgmt_show(). Bart Van Assche 2010-11-13 10:02:11 +00:00
  • 5412c63410 scst: fake_aca support does now work (merged revisions 2677,2680 and 2681 from the ibmvstgt-port branch). Bart Van Assche 2010-11-13 09:27:23 +00:00
  • 283a647c5e Cosmetics: rename "tlb" to "tbl" as it should be from "table" Vladislav Bolkhovitin 2010-11-12 12:23:37 +00:00
  • eed844a6c2 Merge of the trunk's r2673: Vladislav Bolkhovitin 2010-11-11 19:59:55 +00:00
  • fc3dec251d scst_alloc() didn't set len of the last sg entry as reported by ido benda <idombd@gmail.com> + set resid_possible for special cases of LUN NOT SUPPORTED Vladislav Bolkhovitin 2010-11-11 19:55:52 +00:00
  • d99565f6fb ibmvstgt: Workaround to make ibmvstgt patch generation succeed. Bart Van Assche 2010-11-11 15:10:49 +00:00
  • a9663949f0 Patch generation scripts: Fixed a typo. Bart Van Assche 2010-11-11 14:50:37 +00:00
  • a67095dc44 ibmvstgt: Minor comment change. Bart Van Assche 2010-11-11 14:02:11 +00:00
  • 64b2df03e4 ibmvstgt patch description: Separated porting changes from other changes. Bart Van Assche 2010-11-11 13:23:30 +00:00
  • b3364e18ba ibmvstgt: Patch description update. Bart Van Assche 2010-11-11 13:17:50 +00:00
  • 9ecf46038d Small optimization: there's no point to keep full kobj completion. Vladislav Bolkhovitin 2010-11-11 13:02:00 +00:00
  • 57d7323e00 ibmvstgt: Updated documentation. Bart Van Assche 2010-11-11 12:40:57 +00:00
  • 8cad61c602 ibmvstgt: Elaborated documentation. Bart Van Assche 2010-11-11 10:48:43 +00:00
  • 7bdfe662e8 ibmvstgt: Fixed a checkpatch complaint about whitespace. Bart Van Assche 2010-11-11 09:52:37 +00:00
  • 1f2cedce37 Merged scripts directory from ibmvstgt-port branch (svn merge -r2369:2654 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/scripts). Bart Van Assche 2010-11-11 09:26:44 +00:00
  • 17d6ca9cea Merged the ibmvstgt-port branch (svn merge -r2369:2654 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port). Bart Van Assche 2010-11-11 09:14:32 +00:00
  • 972959d11a Patch from Uri Yanai <Uri.Yanai@ngsoft.com> fixing compilation for kernels below 2.6.28 Vladislav Bolkhovitin 2010-11-10 19:34:22 +00:00
  • ba6b1df220 Merge with the trunk's r2657: Vladislav Bolkhovitin 2010-11-10 19:31:54 +00:00
  • 1159c7fd26 in-tree-patches deleted as not needed Vladislav Bolkhovitin 2010-11-10 19:30:13 +00:00
  • 53d113c04a Merge of the trunk's r2655: Vladislav Bolkhovitin 2010-11-10 12:38:00 +00:00
  • d66dcd71eb Fix minor Makefile issues Vladislav Bolkhovitin 2010-11-10 12:35:11 +00:00
  • 0463afc282 Patch from Bart Van Assche <bvanassche@acm.org> with some changes implementing additional hooks to allow target drivers to override INQUIRY responses and support for LUNs addressing method. Vladislav Bolkhovitin 2010-11-09 21:01:21 +00:00
  • 8eaff2c061 qla2x00t: Removed trailing whitespace. Bart Van Assche 2010-11-09 20:09:31 +00:00
  • 37f52e6418 Merge of the trunk's r2641: Vladislav Bolkhovitin 2010-11-09 14:43:52 +00:00
  • ba81a8caaf Docs update Vladislav Bolkhovitin 2010-11-09 14:41:22 +00:00
  • 670f9aab84 Merge of the trunk's r2639: Vladislav Bolkhovitin 2010-11-09 14:30:44 +00:00
  • a98808185f Ignore out of SN range commands as requested by iSCSI RFC. Vladislav Bolkhovitin 2010-11-09 14:23:25 +00:00
  • e8f65b0336 Long CDBs handling fixed Vladislav Bolkhovitin 2010-11-09 13:14:09 +00:00
  • c631f51530 Fixes for sessions deletion Vladislav Bolkhovitin 2010-11-08 17:08:07 +00:00
  • 9beae31839 Merge of the trunk's r2635: Vladislav Bolkhovitin 2010-11-08 14:25:58 +00:00
  • 66cec8e76a Fix problems in marking sessions local Vladislav Bolkhovitin 2010-11-08 14:18:10 +00:00
  • 1903d5e459 Local sessions management made more robust Vladislav Bolkhovitin 2010-11-08 13:21:15 +00:00
  • 994e8f8b08 Merged from the ibmvstgt-port branch, such that the nightly build works again. Bart Van Assche 2010-11-07 08:42:16 +00:00
  • daa86ab856 ibmvstgt: PowerPC build fix (svn merge -r2369:2589 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/ibmvstgt/src/dummy_powerpc_defs.h). Bart Van Assche 2010-11-06 12:41:54 +00:00
  • 87d0149b49 ibmvstgt: Build and install both ibmvstgt and libsrp (svn merge -r2369:2449 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/ibmvstgt/Makefile). Bart Van Assche 2010-11-06 12:40:10 +00:00
  • 38e8997ad8 Moved srp_task_attribute into srp.h (svn merge -r2508:2511 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port). Bart Van Assche 2010-11-06 11:03:31 +00:00
  • 99830e05e7 svn merge -c2508 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port Bart Van Assche 2010-11-06 11:01:34 +00:00
  • 42ea082d08 ibmvstgt: Builds again on RHEL (svn merge -c2398 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port). Bart Van Assche 2010-11-06 10:30:16 +00:00
  • a5417c1641 Compilation: Disabled -Wextra on RHEL5 since it triggers too many uninteresting warnings on that platform. Bart Van Assche 2010-11-06 10:20:16 +00:00
  • 001e95d7c6 Replaced ibmvscsis source code by a more recent version (svn merge -c2585 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port). Bart Van Assche 2010-11-05 20:35:00 +00:00