[PATCH] 3w-9xxx: use boottime to compare time

2016-01-31 Thread Abhilash Jindal
Wall time is susceptible to sudden jumps due to user setting the time or due to NTP. Boot time is constantly increasing time better suited for subtracting two timestamps. Signed-off-by: Abhilash Jindal <klock.andr...@gmail.com> --- drivers/scsi/3w-9xxx.c | 13 ++--- drivers/s

[PATCH] [SCSI] bfa: Use monotonic clock

2015-08-11 Thread Abhilash Jindal
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to user setting the time or due to NTP. Monotonic time is constantly increasing time better suited for comparing two timestamps. Signed-off-by: Abhilash Jindal klock.andr...@gmail.com --- drivers/scsi/bfa/bfa_port.c

[PATCH] [SCSI] bfa: Use boottime

2015-08-11 Thread Abhilash Jindal
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to user setting the time or due to NTP. Boot time is constantly increasing time better suited for comparing two timestamps. Signed-off-by: Abhilash Jindal klock.andr...@gmail.com --- drivers/scsi/bfa/bfa_svc.c | 16