Print this page
4781 sd shouldn't abuse ddi_get_time(9f)
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
@@ -21,10 +21,11 @@
/*
* Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright 2011 cyril.galibern@opensvc.com
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _SYS_SCSI_TARGETS_SDDEF_H
#define _SYS_SCSI_TARGETS_SDDEF_H
@@ -514,11 +515,11 @@
/* TRAN_FATAL_ERROR count. Cleared by TRAN_ACCEPT from scsi_transport */
ulong_t un_tran_fatal_count;
timeout_id_t un_retry_timeid;
- time_t un_pm_idle_time;
+ hrtime_t un_pm_idle_time;
timeout_id_t un_pm_idle_timeid;
/*
* Count to determine if a Sonoma controller is in the process of
* failing over, and how many I/O's are failed with the 05/94/01