Hi all, I am using ioctl() to send a vendor unique command to a disk drive via the libata driver stack. The command is a security erase command and it takes several minutes for the command to complete. During this time, my driver is timing out. Now, I don't really have a problem with the driver timing out. What I'm wondering is whether there's a way to make the ioctl() timeout faster so that my program can continue execution. I see that in the sg_io_hdr_t struct passed to ioctl() there is a timeout value specified in ms. I've entered values between 5 and 500 but it is taking 90-100 seconds for the command to return and for my program to continue. Does anyone have a suggestion on how to make this ioctl() timeout faster and return to executing my program? Thanks! -Russell Sloan -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ