1. 29 9月, 2008 3 次提交
  2. 14 9月, 2008 2 次提交
  3. 09 9月, 2008 7 次提交
  4. 22 8月, 2008 13 次提交
  5. 05 8月, 2008 1 次提交
  6. 31 7月, 2008 6 次提交
  7. 27 7月, 2008 1 次提交
  8. 26 7月, 2008 1 次提交
  9. 15 7月, 2008 6 次提交
    • M
      AHCI: Remove an unnecessary flush from ahci_qc_issue · 2640d7c0
      Matthew Wilcox 提交于
      In an I/O heavy workload (IOZone), ahci_qc_issue is the second-highest
      consumer of CPU cycles.  Removing the flush gets us approximately 10%
      bandwidth improvement.  I believe this to be because the CPU can start
      queueing the next request instead of waiting for the readl() to flush the
      writes to the device.  The flush isn't necessary because we're using a
      'queue' metaphor; we don't guarantee the command has got to the device,
      nor do we need to guarantee the command has got to the controller.
      Signed-off-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      2640d7c0
    • Z
      AHCI: speed up resume · 24920c8a
      Zhang Rui 提交于
      During resume, sleep 1 second to wait for the HBA reset
      to finish is a waste of time.
      
      According to the AHCI 1.2 spec,
      We should poll the HOST_CTL register,
      and return error if the host reset is not
      finished within 1 second.
      
      Test results show that the HBA reset can be done quickly(in usecs).
      And this patch may save nearly 1 second during resume.
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      24920c8a
    • M
      [libata] Add support for VPD page b1 · 1e9dbc92
      Matthew Wilcox 提交于
      SCSI VPD page b1 reports the nominal rotation speed and physical size
      of the device.  Devices that conform to ATA-8 can return this information
      in words 217 and 168 of the identify data.
      Signed-off-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      1e9dbc92
    • H
      ata: endianness annotations in pata drivers · 6ad67403
      Harvey Harrison 提交于
      drivers/ata/pata_qdi.c:142:9: warning: incorrect type in assignment (different base types)
      drivers/ata/pata_qdi.c:142:9:    expected unsigned int [unsigned] [usertype] pad
      drivers/ata/pata_qdi.c:142:9:    got restricted __le32 [usertype] <noident>
      drivers/ata/pata_qdi.c:146:15: warning: cast to restricted __le32
      
      drivers/ata/pata_winbond.c:110:9: warning: incorrect type in assignment (different base types)
      drivers/ata/pata_winbond.c:110:9:    expected unsigned int [unsigned] [usertype] pad
      drivers/ata/pata_winbond.c:110:9:    got restricted __le32 [usertype] <noident>
      drivers/ata/pata_winbond.c:114:15: warning: cast to restricted __le32
      
      drivers/ata/pata_legacy.c:310:9: warning: incorrect type in assignment (different base types)
      drivers/ata/pata_legacy.c:310:9:    expected unsigned int [unsigned] [usertype] pad
      drivers/ata/pata_legacy.c:310:9:    got restricted __le32 [usertype] <noident>
      drivers/ata/pata_legacy.c:314:15: warning: cast to restricted __le32
      drivers/ata/pata_legacy.c:752:11: warning: cast to restricted __le32
      drivers/ata/pata_legacy.c:756:9: warning: incorrect type in assignment (different base types)
      drivers/ata/pata_legacy.c:756:9:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] pad
      drivers/ata/pata_legacy.c:756:9:    got restricted __le32 [usertype] <noident>
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      6ad67403
    • T
      libata-eh: update atapi_eh_request_sense() to take @dev instead of @qc · 3eabddb8
      Tejun Heo 提交于
      Update atapi_eh_request_sense() to take @dev, @sense_buf and
      @dfl_sense_key instead of taking @qc and extracting information from
      it.  This change is to make the function more generic and allow it to
      be called from other places.
      
      While at it, make cdb initialization use initializer.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      3eabddb8
    • P
新手
引导
客服 返回
顶部