Commit Graph

  • 780d8b439c Added scsi_tgt-related source files. Bart Van Assche 2010-09-22 18:59:04 +00:00
  • 1f709fecfe Changed empty files into a single blank line in order to avoid build breakage. Bart Van Assche 2010-09-22 18:58:07 +00:00
  • d08963568e Removed scsi_tgt-related variables. Bart Van Assche 2010-09-22 18:57:34 +00:00
  • 38c30c447a - Support create attributes for targets. Mark Buechler 2010-09-22 18:54:44 +00:00
  • 861a19122e Added a copy of drivers/scsi/Kconfig. Bart Van Assche 2010-09-22 18:09:06 +00:00
  • fec7afefda More cleanup. Bart Van Assche 2010-09-22 18:03:20 +00:00
  • f0e023fb4d - Fix for attributes without values from trunk. Mark Buechler 2010-09-22 17:57:47 +00:00
  • 45738b469c Follow-up for previous commit. Bart Van Assche 2010-09-22 17:51:47 +00:00
  • e20ac8c3d2 Removed MODE_TARGET. Bart Van Assche 2010-09-22 17:51:10 +00:00
  • 275dfd58f7 Added more source files. Bart Van Assche 2010-09-22 17:49:26 +00:00
  • 0ef5b0169a More cleanup. Bart Van Assche 2010-09-22 17:40:51 +00:00
  • be9cb5dd17 Cleanup. Bart Van Assche 2010-09-22 17:33:50 +00:00
  • 20cdd97fc9 - Fix attributes with no values. Mark Buechler 2010-09-22 17:30:52 +00:00
  • ab505854c1 Removed an unused function. Bart Van Assche 2010-09-22 17:28:10 +00:00
  • 46070c957e Fixed Makefile. Bart Van Assche 2010-09-22 17:27:42 +00:00
  • 20098b3634 Added scsi_tgt kernel module source code. Bart Van Assche 2010-09-22 17:00:46 +00:00
  • 14638a27a5 Cleanup. Bart Van Assche 2010-09-22 16:56:56 +00:00
  • ac76a0b85a Fixed three copy/paste errors. Bart Van Assche 2010-09-22 16:56:29 +00:00
  • 18ac63d958 - Add example for sysfs version. Mark Buechler 2010-09-22 16:32:47 +00:00
  • 88634a4383 - Add example for sysfs version. Mark Buechler 2010-09-22 16:27:37 +00:00
  • 091b1da24c Updated kernel versions. Bart Van Assche 2010-09-21 10:03:40 +00:00
  • d28b944661 Reverted an unintended behavior change. Bart Van Assche 2010-09-20 18:38:58 +00:00
  • 2fc8c5ea79 Fix the AEN code, particularly the work function stuff to work with older versions of the kernel. Also, use correct specifiers in some places, ie %zd where a negative number could be printed. Richard Sharpe 2010-09-20 14:30:00 +00:00
  • 5cf473bff1 Corrected patch descriptions. Bart Van Assche 2010-09-19 09:04:25 +00:00
  • 350aa065cb More diff minimizing. Bart Van Assche 2010-09-18 13:31:42 +00:00
  • 372e02c368 Generate ibmvstgt patch automatically. Bart Van Assche 2010-09-18 13:12:18 +00:00
  • cc2a8a97c0 Added to repository. Bart Van Assche 2010-09-18 12:59:26 +00:00
  • a43faee6a0 Diff minimizing. Bart Van Assche 2010-09-18 12:58:45 +00:00
  • c55e7712ef Removed ibmvscsi.h again. Bart Van Assche 2010-09-18 12:47:18 +00:00
  • 3abff13107 Moved original source files to a subdirectory. Bart Van Assche 2010-09-18 12:41:15 +00:00
  • 26e64631a0 Added to repository. Bart Van Assche 2010-09-18 12:40:26 +00:00
  • 9f20d45776 Version number update. Bart Van Assche 2010-09-17 06:02:51 +00:00
  • c9fea03ffa Version number update. Bart Van Assche 2010-09-17 06:01:56 +00:00
  • 25520184a4 A small coding style fix, plus a specifier fix in an ifdef block. The coding style fix conforms to the kernel coding standard and uses if (!xxx) rather than if (NULL == xxx). Richard Sharpe 2010-09-17 04:00:15 +00:00
  • 58a957b8c0 Merge of the trunk's r2136: Vladislav Bolkhovitin 2010-09-16 18:58:23 +00:00
  • e696ce50d6 Docs updated Vladislav Bolkhovitin 2010-09-16 18:55:52 +00:00
  • d7e508e226 Merge of trunk r2134: Vladislav Bolkhovitin 2010-09-16 14:04:14 +00:00
  • f284378434 Stay away from buffers overflows with too long firmware and PCI infos Vladislav Bolkhovitin 2010-09-16 14:01:19 +00:00
  • 2f52c70221 Modified nightly build config. Bart Van Assche 2010-09-16 11:45:55 +00:00
  • 7ef57f0f9e Bug fix: made sure that the patch generated by command-line option -u actually compiles. Bart Van Assche 2010-09-16 10:56:37 +00:00
  • 53d2c612b7 Small improvement: scst_get_sg_page_first()/scst_get_sg_page_next() added to avoid page_address()/virt_to_page() pair for cases, where only pages are needed. Vladislav Bolkhovitin 2010-09-15 19:18:47 +00:00
  • f725c61c7b Source code comment spelling fix. Bart Van Assche 2010-09-15 18:04:26 +00:00
  • 669c380211 The patch below makes it again possible to build SCST against the 2.6.23 or before kernel headers and also suppresses several compiler warnings about possibly uninitialized variables. Vladislav Bolkhovitin 2010-09-15 18:00:17 +00:00
  • 35dc0e55f2 Removed two superfluous semicolons. Bart Van Assche 2010-09-15 07:33:41 +00:00
  • 8479d63551 Added locking-per-lun patch. Bart Van Assche 2010-09-14 18:21:31 +00:00
  • cb36024b63 Builds again against kernel 2.6.23 and before. Bart Van Assche 2010-09-14 10:55:10 +00:00
  • 25cb08ed2f Fixed a checkpatch complaint about 'return is not a function'. Bart Van Assche 2010-09-14 08:42:25 +00:00
  • 19ac548c1a Fixed a checkpatch complaint about whitespace and a compiler warning about a format string mismatch. Bart Van Assche 2010-09-14 07:40:12 +00:00
  • e937b00307 Merge my recent changes into the 2.0.0.x branch ... Richard Sharpe 2010-09-14 03:49:07 +00:00
  • 3d41efd784 Add an #ifndef CONFIG_SCST_PROC around the checking for add_default_tgt so that we use the old PROC behavior. Richard Sharpe 2010-09-14 02:43:33 +00:00
  • 62564bb386 More version updates Vladislav Bolkhovitin 2010-09-13 22:04:14 +00:00
  • 9fe06dd3fa Merge of mainline r2119: Vladislav Bolkhovitin 2010-09-13 21:38:20 +00:00
  • 9a501b9f1c Forgotten enabling iSCSI target driver noticed by Alex Crow <alex@nanogherkin.com> added Vladislav Bolkhovitin 2010-09-13 21:36:22 +00:00
  • c59f067c19 Merge of r2117: Vladislav Bolkhovitin 2010-09-13 21:22:07 +00:00
  • 11fade176a Scan host only if it has LUNs Vladislav Bolkhovitin 2010-09-13 21:15:02 +00:00
  • 69540954d5 Cleanup Vladislav Bolkhovitin 2010-09-13 21:10:13 +00:00
  • f6a2a6b4db CDB splitting added Vladislav Bolkhovitin 2010-09-13 21:02:35 +00:00
  • d5e230f260 Building TAGS added Vladislav Bolkhovitin 2010-09-13 21:01:41 +00:00
  • 98b09a7a26 SG chaining implemented Vladislav Bolkhovitin 2010-09-13 20:47:44 +00:00
  • 1f5ff3e5ed Change version on 2.1.0-pre1 Vladislav Bolkhovitin 2010-09-13 20:45:46 +00:00
  • 5ee4257971 Updated kernel versions. Bart Van Assche 2010-09-13 18:57:39 +00:00
  • d4d9b4c5ed I think this fixes the problem Vlad had after he reworked scst_local.c but he seems to have removed the setting of hpnt->max_id, so it seems the default is 7. Set it to 0 because we only want one ID on the device, and we don't do any checking ... Richard Sharpe 2010-09-12 20:28:47 +00:00
  • f5736f2b6a ib_srpt performance optimization. Bart Van Assche 2010-09-12 18:57:04 +00:00
  • 118900953e Fix the module parm description so that the name matches the correct name. Richard Sharpe 2010-09-12 18:11:42 +00:00
  • 8c0c079be4 Fixed a compiler warning. Bart Van Assche 2010-09-12 17:44:11 +00:00
  • 72fb7b3644 Shortened a kernel module parameter description. Bart Van Assche 2010-09-12 10:03:06 +00:00
  • 4908c258ce Further conversion towards SCST. Fixed sparse errors and warnings. Restored struct srp_target_port in libsrp to the upstream definition / moved several members to struct vio_port. Bart Van Assche 2010-09-12 10:02:36 +00:00
  • 82b810f2ad Remove /* #define CONFIG_SCST_PROC */ from the input. Bart Van Assche 2010-09-12 08:07:28 +00:00
  • 2aa9e1d69a Bug fix: substitute CONFIG_SCST_PROC properly. Bart Van Assche 2010-09-12 07:49:54 +00:00
  • 9878d2533f Reverted r2099. Bart Van Assche 2010-09-12 07:31:33 +00:00
  • bad63dc691 Fix a bug where is we load without specifying add_default_tgt=1 we cause an oops when we try to unload scst_local. This is because we were unregistering the driver if we did not add a default target, but we try to do that again when we try to unload the driver. Richard Sharpe 2010-09-12 05:48:27 +00:00
  • 2be149adb3 Add more damn ifdefs to allow us to use root_device_register to create the root device rather than using a statically allocated structure in the driver. Richard Sharpe 2010-09-11 23:22:00 +00:00
  • 1c90d919d5 Removed unused code. Bart Van Assche 2010-09-11 18:20:59 +00:00
  • 2f289c967b More conversions towards SCST. There are still several to-do items left though. Bart Van Assche 2010-09-11 18:20:24 +00:00
  • 6aa2ebca55 Send back the proper error code when an SRP task management command fails. Replaced a numeric constant by a symbolic one. Renamed a function. Updated several comments. Bart Van Assche 2010-09-11 17:51:40 +00:00
  • 2c10d7e4f5 Cleaned up Subversion ignore list: removed obsolete entries and added TAGS. Bart Van Assche 2010-09-11 11:32:26 +00:00
  • 8ed7d3d0a6 Removed the source files libsrpnew.h/.c again. Bart Van Assche 2010-09-11 11:31:31 +00:00
  • 45f9175449 Fix for r2082: declaring bool kernel module parameters as bool is allowed since kernel 2.6.31, not since kernel 2.6.28. See also commit fddd520122953550ec2c8b60e7ca0d0f0d115d97. Bart Van Assche 2010-09-11 11:30:29 +00:00
  • 79216f3bdd Updated Subversion ignore list. Bart Van Assche 2010-09-11 11:22:06 +00:00
  • a40fdacb5f Pre-2.6.31 kernel compiler warning fix. Bart Van Assche 2010-09-11 08:21:35 +00:00
  • 5c7f79d3cc 2.0.0.x stable branch Vladislav Bolkhovitin 2010-09-10 14:16:00 +00:00
  • d27bbc0d15 Final version and docs update before pushing it into the stable branch Vladislav Bolkhovitin 2010-09-10 14:07:53 +00:00
  • 929eebcfec TAGS file renamed to not interfere with ctags Vladislav Bolkhovitin 2010-09-10 14:00:21 +00:00
  • 85aa336006 Fixes sparse failure on constructs like "char str[max(...)];", because it does not recognize expressions like max(constant1, constant2) as a constant. Also, sizeof(string) + 1 reserves one byte too much: sizeof(string) does count the terminating zero byte. Vladislav Bolkhovitin 2010-09-10 12:54:17 +00:00
  • 4340c8f66f Made kernel builds more silent. Bart Van Assche 2010-09-10 08:34:47 +00:00
  • c7c33ed5d7 Builds now agains the openSUSE 11.3 kernel headers too. OpenSUSE 11.3 has a 2.6.34 kernel with blkdev_issue_flush() backported from 2.6.35. Bart Van Assche 2010-09-10 08:08:34 +00:00
  • 055686251d Disable CONFIG_DEBUG_STRICT_USER_COPY_CHECKS before starting a kernel build. Bart Van Assche 2010-09-10 08:07:19 +00:00
  • 0f4411d273 Added support for operator != (not equal to). Undefine CONFIG_SUSE_KERNEL. Bart Van Assche 2010-09-10 07:35:58 +00:00
  • 58fe6226ce Only include the procfs headers when necessary. Bart Van Assche 2010-09-10 07:05:20 +00:00
  • 2db5211667 scst_local compiles again without triggering a compiler warning on kernels 2.6.27 and before. Bart Van Assche 2010-09-10 06:54:23 +00:00
  • b94b10332d scst_local, in-tree: excluded scst_local from kernel build when HIGHMEM4G or HIGHMEM64G is enabled. Bart Van Assche 2010-09-10 06:46:14 +00:00
  • 635996c45b Added Kconfig entry for scst_user. Excluded scst_user from the kernel build when HIGHMEM4G or HIGHMEM64G is enabled. Bart Van Assche 2010-09-10 06:45:22 +00:00
  • 749929467a Fixed a recently introduced checkpatch complaint. Bart Van Assche 2010-09-10 06:21:42 +00:00
  • 8f1d1f1c1c Possible deadlocks with sysfs ref counting in sysfs works fixed (it is waiting for the last put, but the last ref counter holder is waiting for scst_mutex). Vladislav Bolkhovitin 2010-09-09 20:20:36 +00:00
  • 89b35b8b9d Even more upstream include path conversions. Bart Van Assche 2010-09-09 15:38:31 +00:00
  • 5b33692678 More upstream include path conversions. Bart Van Assche 2010-09-09 15:27:54 +00:00
  • e72226e60b Minor cleanups Vladislav Bolkhovitin 2010-09-09 15:04:24 +00:00
  • eafe13657f Hide disabled targets from SendTargets view Vladislav Bolkhovitin 2010-09-09 14:53:42 +00:00
  • 9c935fdd21 More work on scst_local: Vladislav Bolkhovitin 2010-09-09 14:52:42 +00:00
  • ec2712759f Un-break nightly build. Bart Van Assche 2010-09-09 13:57:30 +00:00