OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group on
:
ONNV Flag Days, Heads Ups, and Project Integration History
>
Builds 76-80
>
Heads Up: File system framework changes (supplement to CIFS' "head's up")
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
Heads Up: File system framework changes (supplement to CIFS' "head's up")
Hide Line numbers
1: == Heads Up: File system framework changes (supplement to CIFS’ "head’s up") 2: 3: {{{ 4: 5: Date: Fri, 26 Oct 2007 16:08:58 -0500 6: From: Rich Brown <Rich.Brown at Sun dot COM> 7: To: onnv-gate at onnv dot eng dot sun dot com, on-all at eng dot sun dot com 8: Subject: Heads Up: File system framework changes (supplement to CIFS’ "head’s up") 9: 10: If you don’t know what a VOP is and will never, ever make a change 11: to a kernel file that uses the vfs/vnode interface, then feel free 12: to delete this. 13: 14: Yesterday’s CIFS putback 15: 16: 6617183 CIFS Service - PSARC 2006/715 17: 18: introduced several changes to the file system framework in Solaris. The 19: following outlines the changes and the corresponding PSARC cases. 20: 21: For further details, please see the mail and spec files in the PSARC case 22: directories: 23: 24: http://http://opensolaris.org/os/community/arc/caselog/2007/{insert-case-number} 25: 26: If you have additional questions, please send them to cifs-vfs-team at sun dot com 27: 28: PSARC 2007/218 caller_context_t in all VOPs 29: 30: *All* vnode operations now pass a pointer to caller_context_t. 31: These are primarily used by File Event Monitors (FEM) however 32: the file system is responsible for passing any caller_context_t 33: parameters to subsequent VOP calls. 34: 35: PSARC 2007/227 VFS Feature Registration and ACL on Create 36: 37: There are three significant parts to this: 38: 39: - VFS structures are now allocated using vfs_alloc() and vfs_free(). 40: Note that the last VFS_RELE()/vfs_rele() calls vfs_free() when 41: the last reference is removed. 42: 43: - VOP_CREATE() and VOP_MKDIR() now take an optional pointer to a 44: vsecattr_t. This allows the caller to set an ACL on create. 45: 46: - We now have a "feature registration" facility for the various 47: behaviors that a file system can support. These are typically 48: set by a file system at mount time and is checked in the fop 49: layer to verify that the file system supports the requested 50: feature (e.g., case-insensitive behavior). It has a very 51: simple interface: 52: 53: /* Register a feature in the vfs */ 54: void vfs_set_feature(vfs_t *vfsp, vfs_feature_t feature) 55: 56: /* 57: * Query a vfs for a feature. 58: * Returns 1 if feature is present, 0 if not 59: */ 60: int vfs_has_feature(vfs_t *vfsp, vfs_feature_t feature) 61: 62: The current list of features (see following PSARC cases) are: 63: 64: VFSFT_XVATTR /* Supports xvattr for attrs */ 65: VFSFT_CASEINSENSITIVE /* Supports case-insensitive */ 66: VFSFT_NOCASESENSITIVE /* NOT case-sensitive */ 67: VFSFT_DIRENTFLAGS /* Supports dirent flags */ 68: VFSFT_ACLONCREATE /* Supports ACL on create */ 69: VFSFT_ACEMASKONACCESS /* Can use ACEMASK for access */ 70: 71: PSARC 2007/244 ZFS case-insensitive support 72: 73: This case covers the changes at vnode/vfs interface level as 74: well as the ZFS level to support case-insensitive behavior: 75: 76: - The following vnode operations take a new flag, FIGNORECASE 77: (in file.h) to request case-insensitive behavior: VOP_CREATE, 78: VOP_REMOVE, VOP_LINK, VOP_RENAME, VOP_MKDIR, VOP_RMDIR, 79: VOP_SYMLINK. 80: 81: If the file system does not support the requested behavior 82: then EINVAL is returned by the appropriate fop-level routine. 83: 84: - VOP_READDIR takes a new flag, V_RDDIR_ENTFLAGS to request 85: that the directory information be retrieved in edirent_t 86: format. The edirent_t structure adds directory entry flags 87: which may contain ED_CASE_CONFLICT. This means that case- 88: insensitive conflict exists. See sys/extdirent.h. 89: 90: If the file system does not support the requested behavior 91: then EINVAL is returned by the fop_readdir(). 92: 93: - pathconf(2) has new a variable which describes case behavior: 94: _PC_CASE_BEHAVIOR. It can take the following values: 95: _CASE_SENSITIVE and _CASE_INSENSITIVE. 96: 97: PSARC 2007/268 Support for CIFS share reservations 98: 99: New flags for share reservations (see sys/fcntl.h): 100: F_RMACC (for f_access) specifies "delete share access" 101: F_RMDNY (for f_deny) specifies "deny delete share access" 102: 103: PSARC 2007/315 Extensible Attribute Interfaces 104: 105: This case adds optional, extensible system attributes. The 106: VOP_GETATTR/VOP_SETATTR interface can support an xvattr_t 107: structure which is a superset of the vattr_t structure. If 108: AT_XVATTR is set in the va_mask field, then the structure is 109: really an xvattr_t structure. 110: 111: The following new attributes have been added to ZFS: 112: 113: CREATETIME /* Create time of file */ 114: ARCHIVE /* Archive */ 115: SYSTEM /* System */ 116: READONLY /* Readonly */ 117: HIDDEN /* Hidden */ 118: NOUNLINK /* Nounlink */ 119: IMMUTABLE /* immutable */ 120: APPENDONLY /* appendonly */ 121: NODUMP /* nodump */ 122: AV_QUARANTINED /* anti-virus quarantine */ 123: AV_MODIFIED /* anti-virus modified */ 124: 125: For more details, see "spec.final.txt" in the case directory. 126: 127: PSARC 2007/403 Modified Access Checks for CIFS 128: 129: - VOP_ACCESS() can now take V_APPEND in its ’flags’ field 130: to check for ACE-enforced append-only access to a vnode. 131: 132: - VOP_ACCESS() can now take V_ACE_MASK in its ’flags’ field 133: which informs the implementation to treat the ’mode’ 134: parameter as a 32 bit ACE-style access mask. 135: 136: - ATTR_NOACLCHECK can be passed in the flags field of vnode 137: operations that retrieve/modify attributes and ACLs. This 138: prevents ACL checks from being performed when the caller has 139: already been granted the permission to perform the operation 140: on the vnode. 141: 142: PSARC 2007/440 nbmand changes for CIFS Service 143: 144: - Change nbmand file rename/remove share violation checks. 145: - Adds F_MDACC to support for meta data access with nbmand 146: - Do not allow nbmand mount option state to change on remount. 147: 148: }}}
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Internet Key Exchange, version 2
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group on Pages
CRT
Advocates & Sponsors
Becoming a Sponsor
Becoming a CRT Advocate
Charter
RTI nits to avoid
Sponsor Tasks
Developing Solaris
Quality Death Spiral
Developer's Reference
Introduction
Prerequisites
The Source Tree, part 1
The Source Tree, part 2
Building OpenSolaris
Installing and Testing OpenSolaris
Integration Procedure
Best Practices and Requirements
Glossary
findunref and unreferenced files
ONNV Flag Days, Heads Ups, and Project Integration History
Builds 101-105
Builds 106-110
Builds 111-115
Builds 116-120
Builds 121-125
Builds 126-130
Builds 21-25
Builds 26-30
Builds 31-35
Builds 36-40
Builds 41-45
Builds 46-50
Builds 51-55
Builds 56-60
Builds 61-65
Builds 66-70
Builds 71-75
Builds 76-80
Builds 81-85
Builds 86-90
Builds 91-95
Builds 96-100
Installation (from source) Quickstart
Annotated nightly(1) Mail Example
Currently Known Issues
Putback Logs
Development Process
Schedule
Bourne/Korn Shell Coding Conventions
wx