Lei Xue
00cfac3d24
optimize the perf and support more features
2026-03-14 11:45:35 +08:00
Wenhua Shi
a6cf150e95
fix some issues
2023-04-17 19:29:01 +08:00
Lei Xue
d94641a8d7
add target port as command flag
2022-12-13 09:49:34 +08:00
Lei Xue
1c9f8d3e06
fix part of golint
2022-12-11 09:59:06 +08:00
Lei Xue
8a3e19f0c9
fix daemon 's host flag
2022-12-10 22:05:19 +08:00
Lei Xue
d92d540c52
gofmt -s
2022-12-10 21:05:52 +08:00
Lei Xue
7745d3ae3b
compile with 'ceph' flag to enable/disable cephstore
2022-12-08 17:51:02 +08:00
Lei Xue
82b42798ee
Merge pull request #103 from jeremy-gill/master
...
Add support for block device storage endpoints.
2022-12-08 17:22:37 +08:00
prateekpandey14
22c2b95d8f
fix(state): reset the CurrentHostIP on closed iscsi connection
...
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com >
2021-08-16 20:54:04 +05:30
shubham
b278ab3133
Add flag to disable login on multiple hosts
...
Signed-off-by: shubham <shubham.bajpai@mayadata.io >
2021-06-29 21:15:54 +05:30
Jeremy Gill
a8468ecec8
Resolve travis-ci / gofmt issue with common.go
2020-12-15 11:26:26 -05:00
Payes Anand
e5e3c09feb
nit: remove unnecessary if-else block
...
Signed-off-by: Payes Anand <payes.anand@mayadata.io >
2020-12-06 13:44:13 +05:30
Payes Anand
ec418673cb
fix: concurrent map iteration and map write
...
Signed-off-by: Payes Anand <payes.anand@mayadata.io >
2020-12-05 14:51:52 +05:30
Jeremy Gill
228e53351d
Add support for block device storage endpoints.
2020-09-04 13:28:51 -04:00
Lei Xue
2e5cea1bd0
add version
...
Signed-off-by: Lei Xue <vfs@live.com >
2020-07-14 22:04:20 +08:00
Chris Koch
6af024c2e3
iscsit: support AuthMethod=None security negotiation
...
Signed-off-by: Chris Koch <chrisko@google.com >
2020-01-21 22:45:18 -08:00
Utkarsh Mani Tripathi
901974d8c4
remove conn.close
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-28 13:55:36 +05:30
Utkarsh Mani Tripathi
7f31722587
Listen on configured IP
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-26 17:45:09 +05:30
Utkarsh Mani Tripathi
dbb4ad7eb2
fix gofmt error
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-21 19:27:01 +05:30
Utkarsh Mani Tripathi
583e9b3a4a
Add option to disable multipath and other fixes
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-21 13:42:32 +05:30
Utkarsh Mani Tripathi
25f0038456
Add tgtNSG to fullfeaturephase and tgtTrans to true
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-20 17:03:58 +05:30
Utkarsh Mani Tripathi
d7891b1f68
Implement stats and resize and fix remote backing store apis
...
- Convert constant to var so that it can be configured from backend
- Add options to disable persistent reservation and ORWrite16 commands
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-20 14:34:35 +05:30
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
3b8e996a6c
Reply with LUN busy when there is a read/write error from backend
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-18 16:30:46 +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
e5339f347a
Add nil pointer check for InSDBBuffer
...
- Gotgt was crashing for few opcodes (sg_inq (sg3-utils)) because InSDBBuffer
was not initialized for such opcodes (Need help)
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-18 15:56:34 +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
Utkarsh Mani Tripathi
f3ef8c973d
add initial implementation of remote backing store
...
This commit implement the BackingStore Interface for remote backing
store.
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-11-18 14:52:03 +05:30
Utkarsh Mani Tripathi
4f270eb4d8
fix the scsi inquiry command for TPGS
...
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io >
2019-09-29 07:26:53 +05:30
Lei Xue
5f8aa301ff
Merge pull request #86 from datomia/max-unmap-descs
...
set max unmap block descriptor count to a feasible value
2019-07-04 15:14:20 +08:00
chessman
a83e8ce5c0
REPORT LUNS: truncate response by allocation length
2019-07-03 19:34:49 +03:00
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
5582973077
set max unmap block descriptor count to a feasible value
2019-06-28 16:32:26 +03:00
chessman
58fb435e3d
add the ability to delete luns at runtime
2019-06-28 13:00:40 +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
0b1ffd5704
provide offset and tl to DataSync
2019-06-27 19:54:16 +03:00
chessman
a5aba61803
move cephstore to a separate package
2019-06-13 13:23:13 +03:00
chessman
2cbb698dee
fix build comment
2019-06-12 20:21:42 +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
Lei Xue
3a9dceae6e
Merge pull request #79 from datomia/thin-provisioned-lun
...
enable UNMAP when LUN is thin provisioned
2019-06-10 18:17:52 +08:00
chessman
e2b7ea4891
rename: Thinprovisioning -> ThinProvisioning
2019-06-10 12:42:21 +03:00
chessman
c8962b89db
MODE SENSE: ALLOCATION LENGTH shouldn't affect a size in response
2019-05-31 14:09:32 +03:00
chessman
c2184d789f
add Logical Block Provisioning VPD page (0xB2)
2019-05-30 17:41:10 +03:00
chessman
12b06c21ef
UNMAP: propagate request to backing store
2019-05-29 16:14:31 +03:00