Print this page
XXXX introduce drv_sectohz

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs4_stub_vnops.c
          +++ new/usr/src/uts/common/fs/nfs/nfs4_stub_vnops.c
↓ open down ↓ 1033 lines elided ↑ open up ↑
1034 1034                                      MAXPATHLEN);
1035 1035                                  /* esi was only needed for hostname & nargs */
1036 1036                                  nfs4_trigger_esi_destroy(esi, vp);
1037 1037                          }
1038 1038  
1039 1039                          nargs = next;
1040 1040                  }
1041 1041  
1042 1042                  /* if we've had no response at all, wait a second */
1043 1043                  if (esi_first == NULL)
1044      -                        delay(drv_usectohz(1000000));
     1044 +                        delay(drv_sectohz(1));
1045 1045  
1046 1046          } while (esi_first == NULL);
1047 1047          ASSERT(nargs_head != NULL);
1048 1048  
1049 1049          dma = kmem_zalloc(sizeof (domount_args_t), KM_SLEEP);
1050 1050          dma->dma_esi = esi_first;
1051 1051          dma->dma_hostlist = hostlist;
1052 1052          dma->dma_nargs = nargs_head;
1053 1053          *dmap = dma;
1054 1054  
↓ open down ↓ 2315 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX