 In order to control write cache, ATA specification included FLUSH CACHE (E7h) and FLUSH CACHE EXT (EAh) commands.These commands cause the disk to complete writing data from its cache, and disk will return good status after data in the write cache is written to disk media.In addition, flushing the cache can be initiated at least to some disks by issuing Soft reset or Standby (Immediate) command.