Patent ID: 7694026
Filing Date: 2010-04-06
Classification: G06F

Abstract:
1. A method, comprising: detecting a condition by a host that causes the host to issue an idle immediate command to a data storage device; receiving the idle immediate command by the data storage device while a queue command is outstanding in a queue in which execution of commands can be reordered, wherein the queue command comprises a native command queuing (NCQ) command, wherein further receiving the idle immediate command comprises receiving an unload command; aborting execution of the queue command in response to receiving the idle immediate command; attempting execution of the idle immediate command, wherein attempting execution of the idle immediate command comprises unloading a head of the data storage device to prevent damage; setting an error bit to indicate whether the attempted execution of the idle immediate command is successful; and reissuing the queue command to the data storage device after executing the idle immediate command.