Print this page
NEX-17289 Minimal SMB 3.0.2 support
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-6276 SMB sparse file support
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-3620 need upstream cleanups for smbsrv
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
SMB-11 SMB2 message parse & dispatch
SMB-12 SMB2 Negotiate Protocol
SMB-13 SMB2 Session Setup
SMB-14 SMB2 Logoff
SMB-15 SMB2 Tree Connect
SMB-16 SMB2 Tree Disconnect
SMB-17 SMB2 Create
SMB-18 SMB2 Close
SMB-19 SMB2 Flush
SMB-20 SMB2 Read
SMB-21 SMB2 Write
SMB-22 SMB2 Lock/Unlock
SMB-23 SMB2 Ioctl
SMB-24 SMB2 Cancel
SMB-25 SMB2 Echo
SMB-26 SMB2 Query Dir
SMB-27 SMB2 Change Notify
SMB-28 SMB2 Query Info
SMB-29 SMB2 Set Info
SMB-30 SMB2 Oplocks
SMB-53 SMB2 Create Context options
(SMB2 code review cleanup 1, 2, 3)
re #7815 SMB server delivers old modification time...

*** 18,28 **** * * CDDL HEADER END */ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ #ifndef _SMBSRV_SMB_VOPS_H #define _SMBSRV_SMB_VOPS_H --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright 2018 Nexenta Systems, Inc. All rights reserved. */ #ifndef _SMBSRV_SMB_VOPS_H #define _SMBSRV_SMB_VOPS_H
*** 123,134 **** int smb_vop_init(void); void smb_vop_fini(void); void smb_vop_start(void); int smb_vop_open(vnode_t **, int, cred_t *); void smb_vop_close(vnode_t *, int, cred_t *); ! int smb_vop_read(vnode_t *, uio_t *, cred_t *); int smb_vop_write(vnode_t *, uio_t *, int, uint32_t *, cred_t *); int smb_vop_getattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *); int smb_vop_setattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *); int smb_vop_space(vnode_t *, int, flock64_t *, int, offset_t, cred_t *); int smb_vop_access(vnode_t *, int, int, vnode_t *, cred_t *); void smb_vop_eaccess(vnode_t *, int *, int, vnode_t *, cred_t *); --- 123,135 ---- int smb_vop_init(void); void smb_vop_fini(void); void smb_vop_start(void); int smb_vop_open(vnode_t **, int, cred_t *); void smb_vop_close(vnode_t *, int, cred_t *); ! int smb_vop_read(vnode_t *, uio_t *, int, cred_t *); int smb_vop_write(vnode_t *, uio_t *, int, uint32_t *, cred_t *); + int smb_vop_ioctl(vnode_t *, int, void *, cred_t *); int smb_vop_getattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *); int smb_vop_setattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *); int smb_vop_space(vnode_t *, int, flock64_t *, int, offset_t, cred_t *); int smb_vop_access(vnode_t *, int, int, vnode_t *, cred_t *); void smb_vop_eaccess(vnode_t *, int *, int, vnode_t *, cred_t *);