Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Asynchronous mounting z/OS UNIX System Services File System Interface Reference SA23-2285-00 |
|
The PFS may choose to complete mounting the file system asynchronously. Because latches are held by the LFS during execution of vfs_mount, it is desirable to perform the mount asynchronously if it cannot be completed immediately (perhaps because of the need to communicate with another system). Asynchronous mount processing follows this sequence:
After the PFS returns to the LFS from the first call to vfs_mount, the LFS may call any vfs_ operation. In particular, the PFS must be prepared to process vfs_unmount and vfs_statfs. If the PFS can determine the file attributes on the first call, it can create and return the root vnode on that call. Otherwise, it defers this until the second call. If a vnode is returned on the first call and also on the second call, it must be the same vnode each time. If the mount operation fails during the asynchronous phase, the PFS calls osi_mountstatus and reports the failure on the second vfs_mount call. Serialization: During each vfs_mount, the PFS has exclusive access to the file system that is being mounted, and no access is allowed until the second vfs_mount has completed. |
Copyright IBM Corporation 1990, 2014
|