|
Lines 115-120
SYSCTL_INT(_vfs_nfsd, OID_AUTO, flexlinuxhack, CTLFLAG_RW,
Link Here
|
| 115 |
&nfsrv_flexlinuxhack, 0, |
115 |
&nfsrv_flexlinuxhack, 0, |
| 116 |
"For Linux clients, hack around Flex File Layout bug"); |
116 |
"For Linux clients, hack around Flex File Layout bug"); |
| 117 |
|
117 |
|
|
|
118 |
int nfsrv_esx_seqid_hack = 0; |
| 119 |
SYSCTL_INT(_vfs_nfsd, OID_AUTO, esx_seqid_hack, CTLFLAG_RW, |
| 120 |
&nfsrv_esx_seqid_hack, 0, |
| 121 |
"Disregard a CREATE_SESSION request's sequence id for VMWare ESXi clients."); |
| 122 |
|
| 118 |
/* |
123 |
/* |
| 119 |
* Hash lists for nfs V4. |
124 |
* Hash lists for nfs V4. |
| 120 |
*/ |
125 |
*/ |
|
Lines 677-683
nfsrv_getclient(nfsquad_t clientid, int opflags, struct nfsclient **clpp,
Link Here
|
| 677 |
*/ |
682 |
*/ |
| 678 |
if (opflags & CLOPS_CONFIRM) { |
683 |
if (opflags & CLOPS_CONFIRM) { |
| 679 |
if ((nd->nd_flag & ND_NFSV41) != 0 && |
684 |
if ((nd->nd_flag & ND_NFSV41) != 0 && |
| 680 |
clp->lc_confirm.lval[0] != confirm.lval[0]) |
685 |
(!(nfsrv_esx_seqid_hack && clp->lc_is_vmware) && |
|
|
686 |
(clp->lc_confirm.lval[0] != confirm.lval[0]))) |
| 681 |
error = NFSERR_SEQMISORDERED; |
687 |
error = NFSERR_SEQMISORDERED; |
| 682 |
else if ((nd->nd_flag & ND_NFSV41) == 0 && |
688 |
else if ((nd->nd_flag & ND_NFSV41) == 0 && |
| 683 |
clp->lc_confirm.qval != confirm.qval) |
689 |
clp->lc_confirm.qval != confirm.qval) |
| 684 |
- |
|
|