Commit Graph

51 Commits

Author SHA1 Message Date
Utkarsh Mani Tripathi
d7caf89610 Implement InitSCSILuMap func for jiva
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
2019-11-19 10:19:58 +05:30
Utkarsh Mani Tripathi
1b02c7897e fix error handling for unsupported commands
- Respond with failure for unsupported task management commands
- Increase MaxRecvDataSegmentLength to 65536, to match FirstBurstLength

Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
2019-11-18 18:20:59 +05:30
Utkarsh Mani Tripathi
64deda8106 convert initialR2T to always true for datadigest
tttttt-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
2019-11-18 18:10:53 +05:30
Utkarsh Mani Tripathi
a8cc3e6db2 improve logs and add client (initiator) status
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
2019-11-18 16:25:55 +05:30
Utkarsh Mani Tripathi
1dbc82435f iSCSI target fixes for iSCSIResiduals tests causing libiscsi test suite to hang
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
2019-11-18 15:16:41 +05:30
Lei Xue
43deee91c0 Merge pull request #85 from datomia/fix-pool-leak
Fix memory leak
2019-06-30 18:57:44 +08:00
chessman
db2ed21438 remove task from PendingTasks queue 2019-06-28 19:56:14 +03:00
chessman
791e74fea5 don't use pool to allocate buffers 2019-06-28 17:55:51 +03:00
chessman
93a6cf0c31 add iscsi target driver closer 2019-06-28 13:00:40 +03:00
chessman
f11001ec71 add the ability to add luns dynamically 2019-06-28 13:00:40 +03:00
chessman
f339c5e70c downgrade ceph 2019-06-12 20:14:12 +03:00
chessman
8d17243b3a update dependencies 2019-06-12 19:10:59 +03:00
xgwang
29b6c29902 Fix typo of fmt format 2018-05-10 10:30:12 +08:00
Lei Xue
787d872a30 perf3 2017-08-02 19:44:13 +08:00
Lei Xue
fcb96b323d perf2 2017-08-02 19:01:41 +08:00
Lei Xue
4ae643e9f8 perf 2017-07-31 21:47:38 +08:00
Lei Xue
eeb30723c8 fix bugs 2017-07-09 09:33:34 +08:00
Lei Xue
8ce8ade3d4 update ModeSense6 function 2017-07-05 21:23:13 +08:00
Lei Xue
1dc950035a fix an issue in ALL.iSCSIcmdsn test case and add it in travis test 2017-06-25 21:05:52 +08:00
Lei Xue
6404f9adc4 fix NO_TASK issue in task management function 2017-06-22 09:12:31 +08:00
Lei Xue
3eb2654e52 Merge pull request #52 from carmark/task
support iscsi task function
2017-06-21 15:30:43 +08:00
Lei Xue
12a648b5f3 fix sense data issue 2017-06-15 08:16:43 +08:00
Lei Xue
7a2b08ff80 support iscsi task function 2017-06-12 21:06:57 +08:00
Payes
6deca56487 Create constants for MaxRecvDataSegmentLength and MaxBurstLength 2017-04-21 18:59:29 +05:30
Payes Anand
0b629a16fe Sending data in dataIn PDUs splitted by maxRecvDataSegment Length 2017-03-12 02:00:30 +05:30
payes
ddf59bf1cb Making sure the required number of bytes are read 2017-02-17 18:55:27 +05:30
Lei Xue
42949563ac small refactor: combine all package response generation 2016-12-11 18:21:53 +08:00
Le Zhang
bb67ec66c7 login negotiation and session/conn reinstatment 2016-12-03 04:23:08 +08:00
Lei Xue
d3c3a96920 delete cit to use new gotgt as main cmd, use logrus instead of glog 2016-11-29 11:21:40 +08:00
Lei Xue
18e1419b06 fix verify and add verify test cases 2016-11-28 16:26:05 +08:00
Lei Xue
82ae696822 remove unnecessary code and doc 2016-11-28 14:36:13 +08:00
Lei Xue
ed47ac5ea0 move port interface to scsi package 2016-11-27 17:02:17 +08:00
Le Zhang
82e6d230a2 PR implementation 2016-11-24 23:16:53 +08:00
payes
9926fb5931 ExpCmdSN should not be increased for DataOut PDUs 2016-11-23 15:57:23 +05:30
Le Zhang
547faf684d iSCSI/SCSI multi port/ALUA support
fix ALUA flag issue
fix NNA flag issue
fix fixed format sense data builder issue
2016-10-18 16:59:25 +08:00
Lei Xue
8791d14cd2 Merge pull request #17 from carmark/sense
return sense data while error
2016-10-06 16:22:54 +08:00
Lei Xue
4a1dcbfc27 return sense data while error 2016-10-06 12:09:24 +08:00
Le Zhang
94cbbb541f fix citd 2016-10-05 11:17:56 +08:00
Lei Xue
13e73124a2 Merge pull request #13 from gostor/lun-mapping
mapping lun and fix portal management
2016-10-04 13:43:48 +08:00
Le Zhang
c9b93c7527 mapping lun and fix portal management 2016-10-04 13:39:55 +08:00
Lei Xue
f8e74185a2 add r2t response into iscsiExecR2T function 2016-10-04 11:53:06 +08:00
Lei Xue
3512ab66f5 init target and luns from config file 2016-10-01 20:59:30 +08:00
Lei Xue
5e57a38dfd add more test cases 2016-09-25 20:15:41 +08:00
Lei Xue
d6108f0a88 fix several bugs during read/write operations 2016-09-25 18:44:34 +08:00
Lei Xue
3fc1973593 date: 2016-09-11/21:30 2016-09-11 21:35:17 +08:00
Lei Xue
11aad6c253 date: 2016-08-30/22:00 2016-08-30 22:07:32 +08:00
Lei Xue
ca14aab4c2 date: 2016-08-30/17:00 2016-08-30 17:04:11 +08:00
Lei Xue
aedc09021f fix bugs and make it run basically 2016-08-27 20:07:51 +08:00
Lei Xue
3f4a40e7c1 add fake logout response 2016-05-03 21:51:59 +08:00
Lei Xue
c5d68b38b2 run the basic process with iscsi driver 2016-05-02 22:11:33 +08:00