4585 |
5688 d 10 h |
jermar |
/trunk/uspace/ |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well. |
|
4552 |
5699 d 7 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Use fibril synchronization in FAT. |
|
4465 |
5713 d 10 h |
decky |
/trunk/uspace/srv/fs/ |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE |
|
4357 |
5742 d 7 h |
jermar |
/trunk/uspace/ |
Introduce the concept of FS nodes. A FS node is a typed abstraction of
file-system-specific node type. It replaces the void * in libfs interfaces
and is suitable for holding various information such as mount point data. |
|
3638 |
5903 d 6 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Implement fat_unlink(). |
|
3628 |
5905 d 13 h |
jermar |
/trunk/uspace/ |
Add somewhat functional fat_link(). |
|
3621 |
5905 d 18 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Add implementation of fat_destroy_node() and fat_destroy(). |
|
3615 |
5906 d 17 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Add implementation of fat_idx_destroy(). |
|
3609 |
5906 d 18 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Implementation of fat_create_node(). |
|
3546 |
5924 d 7 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Start implementing fat_truncate(). |
|
3530 |
5931 d 13 h |
jermar |
/trunk/uspace/ |
Setup communication parameters with the block device in block_init(). The file
system now doesn't know anything about the communication with the block device.
Rename blockread() to block_read(). The boot block is now read only once. The file
system can get access it using the block_bb_get() function. |
|
3521 |
5932 d 12 h |
jermar |
/trunk/uspace/ |
Move libfs_blockread(), block_get() and block_put() to libblock. |
|
3516 |
5932 d 16 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Pass the buffer holding the boot sector to the internal functions so that it
doesn't have to be block_get()'ed in each function. The idea is that the boot
block should be read by the top-level functions in fat_ops.c and passed down the
call chain. |
|
3506 |
5933 d 15 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Move functionality related to manipulatings file allocation tables to fat_fat.c. |
|
3505 |
5933 d 16 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Move functionality related to FAT dentries to fat_dentry.c. |
|
3497 |
5934 d 18 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Dummy fat_write(). |
|
3307 |
6008 d 10 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Dummy implementation of fat_read(). |
|
3111 |
6075 d 8 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Put a frequently used construct into a function. |
|
3110 |
6075 d 9 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Initialize global FAT IDX structures when the FAT server starts and initialize
per-file system FAT IDX structures when a file system gets mounted. |
|
2951 |
6095 d 9 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Add locks to FAT index structures, FAT in-core node structures. Add futex to
protect the list of free cached FAT in-core nodes. Make fat_node_get() and
fat_node_put() and some other functions aware of these new locks. |
|