Mercurial > illumos > illumos-gate
diff usr/src/uts/sun4v/sys/vdc.h @ 4848:eee1ef6f0e3e
FWARC 2007/363 VIO vDisk MD node updates
6566086 vdc needs an I/O timeout
6575216 IO-DOMAIN-RESET : Guests may lose access to disk services (VDS) if IO domain is rebooted
author | achartre |
---|---|
date | Fri, 10 Aug 2007 09:13:17 -0700 |
parents | aa37b7e3c5c7 |
children | ce6338ba4a73 |
line wrap: on
line diff
--- a/usr/src/uts/sun4v/sys/vdc.h Fri Aug 10 02:45:00 2007 -0700 +++ b/usr/src/uts/sun4v/sys/vdc.h Fri Aug 10 09:13:17 2007 -0700 @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -79,9 +79,11 @@ */ #define VDC_MD_CHAN_NAME "channel-endpoint" #define VDC_MD_VDEV_NAME "virtual-device" +#define VDC_MD_PORT_NAME "virtual-device-port" #define VDC_MD_DISK_NAME "disk" #define VDC_MD_CFG_HDL "cfg-handle" -#define VDC_ID_PROP "id" +#define VDC_MD_TIMEOUT "vdc-timeout" +#define VDC_MD_ID "id" /* * Definition of actions to be carried out when processing the sequence ID @@ -280,6 +282,8 @@ struct dk_minfo *minfo; /* structure for DKIOCGMEDIAINFO data */ struct vtoc *vtoc; /* structure to store VTOC data */ ddi_devid_t devid; /* device id */ + uint64_t ctimeout; /* connection timeout in seconds */ + boolean_t ctimeout_reached; /* connection timeout has expired */ ldc_mem_info_t dring_mem_info; /* dring information */ uint_t dring_curr_idx; /* current index */