Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
4608 5467 d 5 h jermar /trunk/uspace/ Statically allocated stat structure will do.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
4586 5471 d 1 h jermar /trunk/uspace/ Add libfs_stat() and let FAT and TMPFS use it.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4584 5471 d 6 h jermar /trunk/uspace/ Separate the VFS input and output protocols.  
/trunk/uspace/app/trace/trace.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/console.h
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
4484 5496 d 0 h decky /trunk/uspace/lib/libfs/ add libfs_open_node() helper function
cleanup
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
4429 5508 d 1 h jermar /trunk/uspace/ Add fs_handle argument to libfs_mount() needed to recognize homogenous mounts.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4423 5509 d 2 h jermar /trunk/uspace/lib/libfs/ Answer VFS_MOUNT with return values obtained from VFS_MOUNTED.  
/trunk/uspace/lib/libfs/libfs.c
4414 5509 d 13 h decky /trunk/uspace/lib/libfs/ cstyle  
/trunk/uspace/lib/libfs/libfs.c
4409 5510 d 22 h jermar /trunk/uspace/ Rudimentary support for non-root mounts.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
4370 5520 d 22 h jermar /trunk/uspace/ Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4368 5521 d 11 h jermar /trunk/uspace/ Lookup a node's parent lexically rather than using the broken L_PARENT flag of
VFS_LOOKUP.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4357 5524 d 22 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.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3625 5688 d 7 h jermar /trunk/uspace/ libfs operation link() should return standard error code instead of mere
true/false.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3575 5701 d 23 h jermar /trunk/uspace/ libfs create operation should take the device handle as argument.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3521 5715 d 3 h jermar /trunk/uspace/ Move libfs_blockread(), block_get() and block_put() to libblock.  
/trunk/uspace/lib/libblock
/trunk/uspace/lib/libblock/Makefile
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/Makefile
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/Makefile
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3254 5795 d 5 h jermar /trunk/uspace/ Stop using fixed size BLOCK_SIZE in the ramdisk task and allow each client to negotiate its own
maximum block size. Allow the individual transfers to use block sizes smaller and equal to the
negotiated maximum block size.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/rd/rd.h
3252 5795 d 23 h jermar /trunk/uspace/ Add a comment to libfs_blockread() and change type from size_t to off_t at
various places.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3251 5796 d 1 h jermar /trunk/uspace/ Move tmpfs_blockread() to libfs and rename it to libfs_blockread().
Add one argument to specify block size.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3048 5861 d 7 h decky /trunk/uspace/lib/libfs/ fix typo  
/trunk/uspace/lib/libfs/libfs.c
3003 5870 d 0 h jermar /trunk/uspace/lib/libfs/ More of the preivous commit.  
/trunk/uspace/lib/libfs/libfs.c
3002 5870 d 0 h jermar /trunk/uspace/lib/libfs/ Optimize conditions in libfs_lookup(). Perform primitive comparisons in the
left-hand subexpression and potentially expensive calls to libfs operations in
the right-hand subexpression.
 
/trunk/uspace/lib/libfs/libfs.c
2863 5905 d 9 h jermar /trunk/uspace/ Revert libfs node_get() API to a model without the parent node pointer
argument.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2857 5910 d 17 h jermar /trunk/uspace/ Add stubs for unimplemented FAT libfs operations.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2852 5911 d 15 h jermar /trunk/uspace/ Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
Add node_put() to libfs operations and instrument libfs_lookup() to use it at
appropriate places.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2847 5912 d 17 h jermar /trunk/uspace/lib/libfs/ Reset the component length variable only prior collecting a new component.  
/trunk/uspace/lib/libfs/libfs.c
2846 5912 d 17 h jermar /trunk/uspace/lib/libfs/ Improve libfs_lookup() so that has_children() is not called for each character
in the pathname component.
 
/trunk/uspace/lib/libfs/libfs.c
2844 5912 d 21 h jermar /trunk/uspace/ Add fat_root_get() and fat_plb_get_char().  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2831 5915 d 15 h jermar /trunk/uspace/ Commit progress on the FAT file system server implementation.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2792 5923 d 0 h jermar /trunk/uspace/ libfs' node_get() operation does not need the file system handle.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2791 5925 d 21 h jermar /trunk/uspace/ Make libfs_lookup() more generic.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2770 5944 d 23 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
/trunk/uspace/srv/vfs/vfs_register.c
2763 5947 d 3 h jermar /trunk/uspace/ Support for rename().  
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
2760 5949 d 21 h jermar /trunk/uspace/ Support for multiple TMPFS node names.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2758 5950 d 22 h jermar /trunk/uspace/ No need to keep the parent pointer in the TMPFS node. Moreover, other file
systems won't have it either. Finally, if TMPFS is to support hardlinks, there
can be multiple parents.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2751 5955 d 3 h jermar /trunk/uspace/ Add canonify() for file system path canonization.
Not yet used by VFS.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/vfs/vfs_lookup.c
2750 5955 d 22 h jermar /trunk/uspace/lib/libfs/ Add a comment to libfs_lookup.  
/trunk/uspace/lib/libfs/libfs.c
2747 5957 d 21 h jermar /trunk/uspace/ Move the core lookup logic from TMPFS to libfs.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
2678 6016 d 3 h jermar /trunk/uspace/ The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies.
 
/trunk/uspace/app/klog/klog.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/time.c
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/console/gcons.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c
2677 6016 d 3 h jermar /trunk/ Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/klog/klog.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/time.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/console/gcons.c
/trunk/uspace/srv/fb/ega.c
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_register.c
2660 6024 d 0 h jermar /trunk/ Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver().
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c
2643 6031 d 3 h jermar /trunk/uspace/ VFS work.
Move FS registration code to libfs.
 
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/Makefile
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c