• Jeff Garzik's avatar
    [libata] scsi simulator improvements: MODE SENSE, SEEK(6,10), REZERO_UNIT · ffb17d43
    Jeff Garzik authored
    * SEEK(6), SEEK(10), and REZERO_UNIT are no-ops.  Unconditionally
      complete these commands with success.
    * MODE SENSE caching page work:
    	* correct page length
    	* set bit, if read-ahead is disabled
    	* set bit, if writeback caching is enabled
    	  (previously, this bit was never set, even if
    	   writeback caching was enabled)
    * add MODE SENSE r/w error recovery page
    ffb17d43
libata-scsi.c 29.6 KB