1. 19 Jul, 2016 4 commits
  2. 18 Jul, 2016 1 commit
    • Tom Yan's avatar
      ata: make lba_{28,48}_ok() use ATA_MAX_SECTORS{,_LBA48} · 35303d5c
      Tom Yan authored
      Since we set ATA_MAX_SECTORS_LBA48 to 65535 to avoid the corner case
      in some drives that commands with "count" set to 0000h (which
      reprsents 65536) does not work as expected, lba_48_ok(), which is
      used for number-of-blocks checking when libata pack commands, should
      use the same limit as well. In fact, there is no reason for the two
      functions not to use the macros anyway.
      Signed-off-by: default avatarTom Yan <tom.ty89@gmail.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      35303d5c
  3. 15 Jul, 2016 4 commits
  4. 14 Jul, 2016 5 commits
  5. 12 Jul, 2016 9 commits
  6. 06 Jul, 2016 2 commits
  7. 28 Jun, 2016 1 commit
  8. 17 Jun, 2016 1 commit
    • Arnd Bergmann's avatar
      ata: fix "ering" sysfs time printing · f3f99d37
      Arnd Bergmann authored
      The sysfs file for the libata error handling has multiple issues
      in the way it prints time stamps:
      
       * it prints a 9-digit nanosecond value using a %06lu format string,
         which drops some leading zeroes
       * it converts a 64-bit jiffes value to a timespec using
         jiffies_to_timespec(), which takes a 'long' argument, so the
         result is wrong after a jiffies overflow (49 days).
       * we try to avoid using timespec because that generally overflows
         in 2038, although this particular usage is ok.
      
      This replaces the jiffies_to_timespec call with an open-coded
      implementation that gets it right.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      f3f99d37
  9. 16 Jun, 2016 7 commits
  10. 27 May, 2016 6 commits