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
Le Zhang
5d3d165c74
Merge pull request #91 from utkarshmani1997/fix-tpgs
...
fix the scsi inquiry command for TPGS
2019-11-18 15:32:48 +08:00
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
9a858d2e37
Merge pull request #92 from carmark/ci
...
update ceph-deploy version to v2.0.2
2019-09-29 09:50:28 +08:00
Lei Xue
8be0578d4c
update ceph-deploy version to v2.0.2
2019-09-29 09:40:49 +08:00
Lei Xue
336465795f
Merge pull request #88 from hugelgupf/nocgo
...
Add ability to build gotgt without cgo
2019-07-30 09:02:07 +08:00
Chris Koch
f92573fd28
Add ability to build gotgt without cgo
...
Signed-off-by: Chris Koch <chrisko@google.com >
2019-07-29 12:55:30 -07:00
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
Lei Xue
92207869c4
Merge pull request #87 from datomia/fix-multiple-luns
...
REPORT LUNS: truncate response by allocation length
2019-07-04 08:14:00 +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
Lei Xue
d5ef41cbff
Merge pull request #83 from datomia/add-lun-dynamically
...
Add/Remove luns dynamically + close target
2019-06-29 21:56:53 +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
Lei Xue
d90dab2b1d
Merge pull request #84 from datomia/synchronize-cache
...
provide offset and tl to DataSync
2019-06-28 08:32:04 +08:00
chessman
0b1ffd5704
provide offset and tl to DataSync
2019-06-27 19:54:16 +03:00
Lei Xue
d13122d350
Merge pull request #82 from datomia/separate-cephstore
...
move cephstore to a separate package
2019-06-13 22:52:01 +08:00
chessman
a5aba61803
move cephstore to a separate package
2019-06-13 13:23:13 +03:00
Lei Xue
bd9e2ae3b5
Merge pull request #81 from datomia/update-deps
...
update dependencies
2019-06-13 08:37:09 +08: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
48da8d6281
add more Go versions to travis
2019-06-12 19:41:48 +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
ae74f39fa8
disable WriteAtomic16 on travis as well
2019-06-07 18:28:03 +03:00
chessman
d3ff8c0f6c
disable WriteAtomic16 tests because the command is not supported
2019-06-07 18:20:38 +03:00
Lei Xue
932dc38110
Merge pull request #80 from datomia/fix-write-cache
...
MODE SENSE: ALLOCATION LENGTH shouldn't affect a size in response
2019-06-03 09:28:16 +08:00
chessman
c8962b89db
MODE SENSE: ALLOCATION LENGTH shouldn't affect a size in response
2019-05-31 14:09:32 +03:00
chessman
5132cfdc8c
add UNMAP tests to libiscsi
2019-05-30 18:00:07 +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
chessman
22d47a9212
enable UNMAP when LUN is thin provisioned
...
- support Block Limits VPD page (0xB0)
- add UNMAP to REPORT SUPPORTED OPERATION CODES
- READ CAPACITY(16): set LBPME when Thin provisioning is enabled
- move Thinprovisioning and BlockShift to config
- add Unmap to BackingStore
2019-05-28 13:53:06 +03:00
Le Zhang
e2192b7b01
Merge pull request #75 from carmark/makefile
...
update Makefile and vendor
2018-11-25 21:31:35 +08:00
Lei Xue
6fe661849a
update ci test for travis
2018-11-18 17:26:27 +08:00
Lei Xue
8af6a91545
update makefile
2018-11-18 17:26:13 +08:00
Lei Xue
567c697499
update vendor
2018-10-31 11:18:18 +08:00
Lei Xue
2d6b86a68a
Merge pull request #74 from cavanwang/master
...
Fix typo of fmt format
2018-05-10 11:32:03 +08:00
Lei Xue
9a07ab77a5
Merge pull request #72 from princerachit/master
...
Fix typo in README.md
2018-05-10 11:30:59 +08:00