Changes between Version 11 and Version 12 of FSDesign
- Timestamp:
- 2009-07-23T20:50:16Z (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FSDesign
v11 v12 38 38 standalone user task. We talk about the VFS frontend and VFS backend. 39 39 40 === VFS frontend === 41 40 42 The frontend is responsible for accepting requests from the client tasks. 41 43 Their arguments are either absolute file paths, file handles of already 42 44 opened files, and in some special cases also VFS triplets (see below). 43 45 44 === Paths as Arguments===46 ==== Paths as Arguments ==== 45 47 46 48 If the argument is a file path, VFS uses the ''vfs_lookup_internal()'' function to … … 93 95 The example is simplified and does not show all the details (e.g. it omits all synchronization), but it shows the main idea. Note the trailing ''vfs_node_put()'' function which drops a reference to a VFS node. If the last reference is dropped from a node, ''vfs_node_put()'' removes it from the hash table and cleans it up. 94 96 95 === Handles as Arguments===97 ==== Handles as Arguments ====