PR implementation
This commit is contained in:
+5
-2
@@ -11,8 +11,7 @@ Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
limitations under the License. */
|
||||
|
||||
package scsi
|
||||
|
||||
@@ -80,6 +79,10 @@ func NewLUN0() *api.SCSILu {
|
||||
return lu
|
||||
}
|
||||
|
||||
func GetReservation(dev *api.SCSILu, nexusID uint64) *api.SCSIReservation {
|
||||
return nil
|
||||
}
|
||||
|
||||
func luPerformCommand(tid int, cmd *api.SCSICommand) api.SAMStat {
|
||||
op := int(cmd.SCB.Bytes()[0])
|
||||
fn := cmd.Device.DeviceProtocol.PerformCommand(op)
|
||||
|
||||
Reference in New Issue
Block a user