Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3621 5676 d 9 h jermar /trunk/uspace/srv/fs/fat/ Add implementation of fat_destroy_node() and fat_destroy().  
3615 5677 d 8 h jermar /trunk/uspace/srv/fs/fat/ Add implementation of fat_idx_destroy().  
3609 5677 d 9 h jermar /trunk/uspace/srv/fs/fat/ Implementation of fat_create_node().  
3546 5694 d 22 h jermar /trunk/uspace/srv/fs/fat/ Start implementing fat_truncate().  
3530 5702 d 5 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 5703 d 4 h jermar /trunk/uspace/ Move libfs_blockread(), block_get() and block_put() to libblock.  
3516 5703 d 8 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 5704 d 6 h jermar /trunk/uspace/srv/fs/fat/ Move functionality related to manipulatings file allocation tables to fat_fat.c.  
3505 5704 d 7 h jermar /trunk/uspace/srv/fs/fat/ Move functionality related to FAT dentries to fat_dentry.c.  
3497 5705 d 10 h jermar /trunk/uspace/srv/fs/fat/ Dummy fat_write().  
3307 5779 d 1 h jermar /trunk/uspace/srv/fs/fat/ Dummy implementation of fat_read().  
3111 5846 d 0 h jermar /trunk/uspace/srv/fs/fat/ Put a frequently used construct into a function.  
3110 5846 d 0 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 5866 d 0 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.
 
2893 5872 d 9 h jermar /trunk/uspace/srv/fs/fat/ More bits of fat_node_get().
Still needs to do some locking.
 
2890 5875 d 1 h jermar /trunk/uspace/srv/fs/fat/ Need a way to locate the FAT index structure by VFS index. Also fix code that
locates the FAT index structure by position in the file system namespace.
 
2889 5878 d 0 h jermar /trunk/uspace/srv/fs/fat/ Add hash table for used fat_idx_t structures and implement fat_idx_map().  
2881 5879 d 4 h jermar /trunk/uspace/srv/fs/fat/ Code for de/allocation of VFS indices for FAT.  
2876 5879 d 8 h jermar /trunk/uspace/srv/fs/fat/ Add a dedicated source file for handling FAT indices.  
2864 5892 d 22 h jermar /trunk/uspace/srv/fs/fat/ Introduce the foundation for unique and stable FAT VFS node indices.

The first two reserved FAT entries are physically present in each FAT, so fix
the code to be aware of this.
 

Show All