sahlberg/libiscsi — pull request #20 by jongrimm (2012-09-27 19:39:20+00:00)
Title:  RESERVE6/RELEASE6 Commands + testcase.

Hi Ronnie!

RESERVE6/RELEASE6 Commands + testcase.

Tested with STGT.

0420_reserve6_simple:
===================
Test RESERVE6/RELEASE6 commands if supported.
If device does not support, just verify appropriate error returned
1. Test simple RESERVE6 followed by RELEASE6
2. Test Initator 1 can reserve if already reserved by Intiator 1.
3. Test Initiator 2 can't reserve if already reserved by Initiator 1.
4. Test Initiator 1 can testunitready if reserved by Initiator 1.
5. Test Initiator 2 can't testunitready if reserved by Initiator 1.
6. Test Initiator 2 can get reservation once Intiator 1 releases reservation.

Best Regards,
Jon