HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
/
tags
/
0.4.1
/
uspace
/
srv
/
vfs
/
vfs_node.c
– Rev 4687
Rev
Show changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
4687
5499 d 1 h
jermar
/tags/0.4.1/
Tag 0.4.1
4584
5535 d 8 h
jermar
/trunk/uspace/
Separate the VFS input and output protocols.
4555
5545 d 23 h
jermar
/trunk/uspace/srv/vfs/
Finish converting VFS to fibril synchronization.
4518
5553 d 23 h
jermar
/trunk/uspace/srv/vfs/
Make VFS use the new synchronization for fibrils. Now there should be no (or
only secondary) fibril serialization. Code reorganized not to hold the phone
lock during async_wait_for() in most cases. Tested on ia32. On amd64, VFS
crashes, but I think it is an unrelated problem.
4509
5555 d 8 h
decky
/trunk/uspace/
rename libadt -> adt
4463
5560 d 3 h
decky
/trunk/uspace/srv/vfs/
VFS rewrite:
- add new VFS methods
- VFS_NODE for getting VFS node for a file descriptor
- VFS_OPEN_NODE for opening an i-node directly
- VFS_DEVICE for getting the underlying device of a file (if any)
- VFS_SYNC for syncing buffers
- L_OPEN flag is set to underlying filesystem in VFS_LOOKUP when opening a file to support initialization (if any)
- VFS_CLOSE is now propagated to underlying filesystem to support cleanup (if any)
3653
5746 d 6 h
jermar
/trunk/uspace/srv/vfs/
Hold the namespace_rwlock during readdir().
2766
6011 d 2 h
jermar
/trunk/uspace/srv/vfs/
Grab the nodes_futex when manipulating node link counts in rename() and
_unlink().
Fix VFS futex definitions and declarations by replacing atomic_t by futex_t.
2742
6023 d 23 h
jermar
/trunk/uspace/srv/
Separate creation of a TMPFS node and its linking in the file system name space.
Rename VFS_FREE to VFS_DESTROY and destroy_node() to unlink_node().
2740
6030 d 0 h
jermar
/trunk/uspace/srv/vfs/
Initialize the VFS node properly.
2731
6032 d 8 h
jermar
/trunk/uspace/srv/
Add the VFS_FREE operation. This operation frees up whatever resources used by
a file system node for which there is no name (i.e. an unlinked node).
Cleanup VFS operations enums and remove unneeded VFS operations.
2730
6033 d 10 h
jermar
/trunk/uspace/srv/
Introduce the notion of VFS node link counts.
2691
6071 d 2 h
jermar
/trunk/uspace/srv/vfs/
Improve the API for converting (VFS triplets, size) to VFS nodes by introducing
a new type for results of vfs_lookup_internal().
2687
6072 d 1 h
jermar
/trunk/uspace/srv/
Management of the cached VFS node size.
2680
6074 d 9 h
jermar
/trunk/uspace/
Add basic rwlock API for uspace so that VFS can be designed/implemented using
this API. So far, the implementation of this API merely wraps futexes into
rwlocks. Real rwlocks are wanted by ticket #54.
Using the new rwlock API, replace the VFS node content futex with an rwlock.
Lock the contents rwlock as reader on reads and as writer on writes.
2679
6078 d 1 h
jermar
/trunk/uspace/srv/vfs/
Rename unlink_futex to namespace_futex and introduce a new futex for serializing
concurrent access to a VFS node's contents by multiple clients.
2652
6092 d 5 h
jermar
/trunk/uspace/srv/vfs/
VFS work.
Fix VFS node hash function to hash only within the limits of its supposed
ranges.
2596
6135 d 4 h
jermar
/trunk/uspace/srv/vfs/
VFS work.
Implement VFS node hash table management.
2593
6137 d 2 h
jermar
/trunk/uspace/srv/vfs/
A lot of more VFS prototyping.
VFS_OPEN gets reasonably complete, fix a limitation that prevented file
structures from being shared by multiple file descriptors, add functions for
file descriptor management, introduce unlink_futex and two new VFS operations
VFS_UNLINK and VFS_RENAME.
2590
6138 d 4 h
jermar
/trunk/uspace/srv/vfs/
VFS work.
Start implementing VFS side of VFS_OPEN.
Add vfs_node.c to contain VFS node related internal functions.