]> granicus.if.org Git - zfs/commit
Use ddi_time_after and friends to compare time
authorChunwei Chen <tuxoko@gmail.com>
Tue, 25 Feb 2014 09:32:21 +0000 (17:32 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Apr 2014 20:27:56 +0000 (13:27 -0700)
commit0b75bdb369df4e0dab96b2778a6421773268df21
tree2b8184592909819f2657e96f6090b9410c76be64
parent888f7141a3fcb73e2ec254de7628eee12022c4fc
Use ddi_time_after and friends to compare time

Also, make sure we use clock_t for ddi_get_lbolt to prevent type conversion
from screwing things.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2142
include/sys/vdev_impl.h
include/sys/zfs_context.h
module/zfs/arc.c
module/zfs/txg.c
module/zfs/vdev_cache.c
module/zfs/zio_inject.c