Abstract:
A system that manages a file system for a file server. A file operation is received that signals a reservation operation for a file having a file size. Preferably, the file system uses a write anywhere file system layout, the file operation that signals the reservation operation is a zero length write request, and the file operation that signals the reservation operation includes a parameter that specifies the file size. A number of blocks needed to be reserved to accommodate the file is computed. Preferably, computing the number of blocks needed to be reserved to accommodate the file includes determining a total number of direct and indirect blocks needed to accommodate the file size, and subtracting a total number of blocks already allocated for the file and a total number of cached unallocated blocks for the file from the total number of direct and indirect blocks needed to accommodate the file size. A number of unallocated blocks is reserved in the file system, with the number of reserved blocks equal to the number of blocks needed to be reserved to accommodate the file. Reserving the number of blocks preferably includes setting a flag in an inode for the file that indicates blocks have been reserved for the file, and incrementing a reserved block count in a file system information block by the number of blocks needed.
Abstract:
An electronically tuned, wavelength-dependent optical detector is provided. The electronically tuned, wavelength-dependent optical detector is a modified metal-semiconductor-metal photodetector including a comb-like metal electrode at a common voltage and metal electrodes each supplied with a control voltage by a voltage means. The wavelength to be detected in an optical input illuminating the detector is selected based on the set of control voltages applied to the metal electrodes. In another embodiment of the invention, the wavelength to be detected with the electronically tuned, wavelength-dependent optical detector is also selected using a standing wave generator, such as an interferometer, to produce a spatially varying light intensity on the surface of the electronically tuned, wavelength-dependent optical detector. Electronic wavelength demultiplexing is also provided. Design flexibility can be obtained by providing two or more optical patterns at a detector surface, each pattern having a different wavelength dependence.
Abstract:
An apparatus and method for an electronically tuned, wavelength-dependent optical detector are disclosed. The electronically tuned, wavelength-dependent optical detector is a modified metal-semiconductor-metal photodetector comprising a comb-like metal electrode at a common voltage and metal electrodes each supplied with a control voltage by a voltage means. The wavelength to be detected in a stream of light illuminating the electronically tuned, wavelength-dependent optical detector is selected based on the set of control voltages applied to the metal electrodes using the voltage means and the relative position of the electronically tuned, wavelength-dependent optical detector. In another embodiment of the invention, the wavelength to be detected with the electronically tuned, wavelength-dependent optical detector is also selected using a standing wave generator, such as an interferometer, to produce a spatially varying light intensity on the surface of the electronically tuned, wavelength-dependent optical detector.
Abstract:
A method and system for reliably performing extra-long operations in a reliable state-full system (such as a file system). The file system includes a separate portion of the file system reserved for files having extra-long operations in progress, including file deletion and file truncation. This separate portion of the file system is called the zombie file space; it includes a separate name space from the regular (“live”) file system that is accessible to users, and is maintained as part of the file system when recording a consistency point.