Post

Replies

Boosts

Views

Activity

WhyExecuteTaskSync does not report Busy state on SCSI target ?
I'm working on an archiving product on MacOs. and so we work with SCSI tape drive and SCSI tape library.The product works currently fine with simple SCSI commands send by ExecuteTaskSync, but I need now to send a Verify command with Immediate bit enabled... that's meaning that the SCSI command it's started on the device, but gives back control immediately. Some "Test Unit Ready" and "Request Sense" are send later to check the progress (may run for 8 hours ... ) and get the final status of the command.I already make it work on Windows and Linux OS, but I have a issue with the IOkit... I don't get the "Busy" status !Every "informationnal" command reports a "status complete", and any other command like "read / verify / rewind" are frozen until completion of the already running "Verify".I looked at the ExecuteTaskAsync , but there's no example code, and that doesn't change the fact that I need to knwo when the Immediate Command is ended to stop the loop... Any ideas ?
1
0
744
Nov ’19