4555 |
5690 d 3 h |
jermar |
/trunk/uspace/srv/vfs/ |
Finish converting VFS to fibril synchronization. |
|
4528 |
5695 d 6 h |
svoboda |
/trunk/uspace/ |
Use 'fibril_local' modifier for fibril-local variables instead of '__thread'. Since it is decalred in fibril.h, it need not begin with '__'. |
|
4518 |
5698 d 3 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. |
|
4432 |
5715 d 9 h |
decky |
/trunk/uspace/srv/vfs/ |
avoid accessing uninitialized files array at all times |
|
4362 |
5732 d 4 h |
jermar |
/trunk/uspace/srv/vfs/ |
Negative file descriptors shoud be considered invalid.
This fixes ticket #70. |
|
3215 |
6035 d 12 h |
jermar |
/trunk/uspace/srv/vfs/ |
Instead of aborting or crashing, return EBADF when an invalid file descriptor
is passed to vfs_close(). |
|
2731 |
6176 d 12 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. |
|
2683 |
6218 d 9 h |
jermar |
/trunk/uspace/srv/vfs/ |
Introduce the open file lock. Modify vfs_rdwr() to take this lock into account
when reading or writing from/to an open file. |
|
2624 |
6261 d 7 h |
jermar |
/trunk/uspace/srv/vfs/ |
Add sanity checks to functions using file descriptors as indices into files. |
|
2593 |
6281 d 5 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. |
|