Print this page
11083 support NFS server in zone
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com>
Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Portions contributed by: Mike Zeller <mike@mikezeller.net>
Portions contributed by: Dan McDonald <danmcd@joyent.com>
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Jason King <jbk@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Change-Id: I22f289d357503f9b48a0bc2482cc4328a6d43d16
@@ -21,11 +21,11 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
- * Copyright 2017 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2018 Nexenta Systems, Inc. All rights reserved.
*/
#pragma D depends_on library ip.d
#pragma D depends_on library net.d
#pragma D depends_on module genunix
@@ -56,10 +56,11 @@
uint16_t soi_uid; /* user id */
uint16_t soi_mid; /* request id */
uint16_t soi_fid; /* file id */
uint16_t soi_flags2; /* flags2 */
uint8_t soi_flags; /* flags */
+ zoneid_t soi_zoneid; /* zone identifier */
} smbopinfo_t;
#pragma D binding "1.5" translator
translator smbopinfo_t < struct smb_request *P > {
soi_cred = (cred_t *)P->user_cr;
@@ -70,10 +71,11 @@
soi_uid = P->smb_uid;
soi_mid = P->smb_mid;
soi_fid = P->smb_fid;
soi_flags2 = P->smb_flg2;
soi_flags = P->smb_flg;
+ soi_zoneid = P->sr_server->sv_zid;
soi_share = (P->tid_tree == NULL) ? "<NULL>" :
P->tid_tree->t_sharename;
soi_curpath = (P->fid_ofile == NULL ||
@@ -135,10 +137,11 @@
uint64_t soi_asyncid; /* Message ID (when async) */
uint64_t soi_uid; /* user ID (SMB2 Session ID) */
uint32_t soi_tid; /* tree ID */
uint32_t soi_status;
uint32_t soi_flags;
+ zoneid_t soi_zoneid; /* zone identifier */
} smb2opinfo_t;
#pragma D binding "1.5" translator
translator smb2opinfo_t < struct smb_request *P > {
soi_cred = (cred_t *)P->user_cr;
@@ -147,10 +150,11 @@
soi_asyncid = P->smb2_async_id;
soi_uid = P->smb2_ssnid;
soi_tid = P->smb_tid;
soi_status = P->smb2_status;
soi_flags = P->smb2_hdr_flags;
+ soi_zoneid = P->sr_server->sv_zid;
soi_share = (P->tid_tree == NULL) ? "<NULL>" :
P->tid_tree->t_sharename;
soi_curpath = (P->fid_ofile == NULL ||