A file system supporting cooperation between programs

A file system supporting cooperation between programs
复制标题

支持程序间协作的文件系统

DOI:
10.1145/800217.806612
复制
发表时间:
1983
期刊:
--
影响因子:
--
通讯作者:
P. Karlton
P. Karlton
中科院分区:
--
文献类型:
--
作者:
Loretta Guarino Reid;P. Karlton

文献摘要

被引文献

相似文献

文件系统协调并发客户端进程对文件的同时访问。虽然多个进程可以同时读取文件,但文件系统必须将独占访问权授予想要写入文件的一个进程。大多数文件系统认为进程是对立的:它们阻止一个进程对一个文件采取任何可能损害已经使用该文件的另一个进程的操作。如果多个进程在使用文件时需要以更复杂的方式进行协作,则它们必须在它们之间显式地进行通信。 接下来的三个部分描述了客户端使用和共享文件所使用的文件系统过程。第二节讨论了客户端如何获得对文件的访问权,以及如果文件系统要求客户端放弃正在使用的文件,客户端如何响应。第三节讨论了客户端可能要求通知某个文件可用于某些访问的机制。第四节讨论了一种受控的文件访问类型,它允许客户端同时读取和写入同一个文件。 第五部分包括三个来自Xerox开发环境的文件系统的协作特性的例子。第六节讨论了编写客户端提供给文件系统的回调过程以实现进程间协作的微妙之处。第七节讨论了该文件系统的实现。
File systems coordinate simultaneous access of files by concurrent client processes. Although several processes may read a file simultaneously, the file system must grant exclusive access to one process wanting to write the file. Most file systems consider processes to be antagonistic: they prevent one process from taking actions on a file that have any chance to harm to another process already using the file. If several processes need to cooperate in a more sophisticated manner in their use of a file, they must communicate explicitly among themselves. The next three sections describe the file system procedures used by clients for using and sharing files. Section Two discusses how a client gains access to a file and how a client can respond if the file system asks it to give up a file it is using. Section Three discusses the mechanism by which a client might ask to be notified that a file is available for some access. Section Four discusses a controlled type of file access that lets clients read and write the same file at the same time. Section Five comprises three examples of the cooperative features of the file system taken from the Xerox Development Environment. Section Six discusses the subtleties of writing the call-back procedures that clients provide to the file system to implement interprocess cooperation. Section Seven discusses the implementation of this file system.