- 07 Sep, 2011 3 commits
-
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
* Always take R/W lock * If the child exists, do addLookupCount() before GetAttr, so the child can't be cleaned up during the unprotected GetAttr() call.
-
- 06 Sep, 2011 14 commits
-
-
Han-Wen Nienhuys authored
errors.
-
Han-Wen Nienhuys authored
* Introduce Inode.addLookupCount(), checking for underflow. * Increase lookupCount for mounts only once * If FsNode.Link() returns existing node, increase its lookup count. * Root node should have lookupCount = 1 at start. * If we get a Lookup for an existing node, increase its lookup count.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Add PathNodeFs.Mount/Unmount methods.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
- Pass PathNodeFs in FileSystem.Mount() - Add Inode.Files(mask) - Reopen all files with layer > 0 on promotion.
-
- 05 Sep, 2011 23 commits
-
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
* NodeFileSystem: interface for defining filesystems in terms of inodes. * FsNode: interface for inodes to be used by NodeFileSystem * PathNodeFs: NodeFileSystem that assumes bijective mapping between inodes and paths * Change inode to Inode, a public (but mostly opaque) type.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Use inodeFs as layer between FileSystemConnector and FileSystem.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
This further prepares fsInode as an intermediate layer between raw and path filesystems.
-
Han-Wen Nienhuys authored
-
Han-Wen Nienhuys authored
Only fsInode maintains Parent links. This prepares for inserting a layer between RawFileSystem and FileSystem, which can define filesystems in terms of inodes.
-
Han-Wen Nienhuys authored
-