Print this page
NEX-15279 support NFS server in zone
NEX-15520 online NFS shares cause zoneadm halt to hang in nfs_export_zone_fini
Portions contributed by: Dan Kruchinin dan.kruchinin@nexenta.com
Portions contributed by: Stepan Zastupov stepan.zastupov@gmail.com
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>

*** 16,35 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _NFS4_DRC_H #define _NFS4_DRC_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif /* --- 16,38 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2018 Nexenta Systems, Inc. + */ + #ifndef _NFS4_DRC_H #define _NFS4_DRC_H #ifdef __cplusplus extern "C" { #endif /*
*** 68,83 **** #define NFS4_DUP_FREE 3 #define NFS4_DUP_REPLAY 4 #define NFS4_DUP_INUSE 5 - extern rfs4_drc_t *nfs4_drc; extern uint32_t nfs4_drc_max; extern uint32_t nfs4_drc_hash; rfs4_drc_t *rfs4_init_drc(uint32_t, uint32_t); ! void rfs4_fini_drc(rfs4_drc_t *); void rfs4_dr_chstate(rfs4_dupreq_t *, int); rfs4_dupreq_t *rfs4_alloc_dr(rfs4_drc_t *); int rfs4_find_dr(struct svc_req *, rfs4_drc_t *, rfs4_dupreq_t **); #ifdef __cplusplus --- 71,85 ---- #define NFS4_DUP_FREE 3 #define NFS4_DUP_REPLAY 4 #define NFS4_DUP_INUSE 5 extern uint32_t nfs4_drc_max; extern uint32_t nfs4_drc_hash; rfs4_drc_t *rfs4_init_drc(uint32_t, uint32_t); ! void rfs4_fini_drc(void); void rfs4_dr_chstate(rfs4_dupreq_t *, int); rfs4_dupreq_t *rfs4_alloc_dr(rfs4_drc_t *); int rfs4_find_dr(struct svc_req *, rfs4_drc_t *, rfs4_dupreq_t **); #ifdef __cplusplus