Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4567 5421 d 3 h jermar /trunk/uspace/srv/vfs/ Use condvar broadcast instead of signal when registering a new file system.  
4566 5421 d 11 h jermar /trunk/uspace/srv/vfs/ Do not use the "pending" fibril mechanism in VFS  
4551 5429 d 11 h jermar /trunk/uspace/srv/vfs/ Handle each VFS request using a dedicated connection.  
4539 5431 d 13 h jermar /trunk/uspace/srv/vfs/ Handle pending mounts using only one fibril.  
4518 5437 d 10 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 5438 d 19 h decky /trunk/uspace/ rename libadt -> adt  
4463 5443 d 13 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)
 
4278 5493 d 14 h svoboda /trunk/uspace/srv/vfs/ No need for strncmp() fs_name_to_handle() as vfs_info.name is always null-terminated.  
4010 5536 d 15 h decky /trunk/uspace/srv/vfs/ support for pending (blocking) mounts (waiting for the presence of the filesystem implementation)
the mount point and filesystem type arguments of VFS_MOUNT were swapped, the IPC_M_PING was eliminated
small cleanups
 
3845 5566 d 9 h jermar /trunk/uspace/srv/ Nuke VFS operations structure.  
2770 5892 d 12 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
2768 5893 d 12 h jermar /trunk/uspace/srv/vfs/ Fibril serialization is required when two file systems register contemporarily.  
2731 5915 d 19 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.
 
2698 5945 d 14 h jermar /trunk/uspace/srv/vfs/ Small fix for VFS_TRUNCATE. Move lookup and registration code to separate
modules.