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,30 **** --- 21,31 ---- /* * 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,524 **** /* 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; 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 --- 515,525 ---- /* TRAN_FATAL_ERROR count. Cleared by TRAN_ACCEPT from scsi_transport */ ulong_t un_tran_fatal_count; timeout_id_t un_retry_timeid; ! 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