commit | 39fc8830eb96a559be8554b8df1e0c31f375feaf | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Dec 23 08:42:59 2015 -0700 |
committer | Jens Axboe <axboe@fb.com> | Wed Dec 23 08:42:59 2015 -0700 |
tree | eaf1b21c6d87eb6abe6e8395facd33a81389837c | |
parent | 8182503df1baa077d1504cd192753b23530eb03c [diff] |
sx8: use real time for the command seconds Commit 8182503df1ba used monotonic time, but if the adapter is using the seconds for logging entries, then we'll get duplicate entries if the system is rebooted. Use real time instead. Reported-by: Arnd Bergmann <arnd@arndb.de> Fixes: 8182503df1ba ("block: sx8.c: Replace timeval with ktime_t") Signed-off-by: Jens Axboe <axboe@fb.com>