|
|
@515a0102
|
17 years |
jirik.svoboda |
Do not disassemble needlessly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@689f036
|
17 years |
jakub |
Initialize in-core FAT root directory node during mount.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7b6753
|
17 years |
jakub |
Put a frequently used construct into a function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cde485d
|
17 years |
jakub |
Initialize global FAT IDX structures when the FAT server starts and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f49b0ea
|
17 years |
jakub |
Split the 'mount another filesystem here' and 'you are being mounted …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40257f5
|
17 years |
jakub |
Evict the code which loads the TMPFS file system from a file system …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f880ee8
|
17 years |
jakub |
Return value argument to ipc_call_sync_X_Y() may not be int or it will …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4b4b47
|
17 years |
martin |
initialize tmpfs from RAM disk
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@536ec42
|
17 years |
martin |
disable kernel console output for now
(this breaks some archs)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f65fb0
|
17 years |
martin |
devmap support, small fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@271b540
|
17 years |
martin |
service banner
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e623197
|
17 years |
martin |
service banner
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e00938c
|
17 years |
martin |
service banner
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd80465
|
17 years |
martin |
remove entry_driver entry points
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21c5d41
|
17 years |
martin |
remove extensive debugging output
remove private devmap.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c89f20
|
17 years |
martin |
disable extensive debugging output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@afb1e35
|
17 years |
martin |
cleanup scripts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64b67c3
|
17 years |
jakub |
Make VFS_MOUNT call even when mounting the root file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce7311fc
|
17 years |
jakub |
Cram VFS_MOUNT into one message. This creates a hidden demand for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e811bde
|
17 years |
jakub |
Add synchronization to fat_match().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@add5835
|
17 years |
jakub |
Add locks to FAT index structures, FAT in-core node structures. Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78a1b7b
|
17 years |
jakub |
Introduce a futex protecting the up_hash and ui_hash.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4452366
|
17 years |
jakub |
Introduce futex for protecting the list of unused structures in FAT server.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34b3ce3
|
17 years |
jakub |
Implement fat_node_put() and remove the node from the free node list …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c4bbcde
|
17 years |
jakub |
More bits of fat_node_get().
Still needs to do some locking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4573a79
|
17 years |
jakub |
New first bits of fat_node_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4797132
|
17 years |
jakub |
Need a way to locate the FAT index structure by VFS index. Also fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a5ccfb3
|
17 years |
jakub |
Add hash table for used fat_idx_t structures and implement fat_idx_map().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c1ad7ac
|
17 years |
jakub |
merge vs. coalesce
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a324099
|
17 years |
jakub |
Code for de/allocation of VFS indices for FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@297f1197
|
17 years |
jakub |
Add a dedicated source file for handling FAT indices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@869e546
|
17 years |
jakub |
Introduce the foundation for unique and stable FAT VFS node indices.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34f62f8
|
17 years |
jakub |
Revert libfs node_get() API to a model without the parent node pointer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a5f0cb
|
17 years |
jakub |
Add fat_block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45f244b
|
17 years |
jakub |
libfs destroy operation should rather return an error code instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80e8482
|
17 years |
jakub |
Add stubs for unimplemented FAT libfs operations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9e9caf
|
17 years |
jakub |
Add a locking scheme for FAT in-core cache and nodes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e13d1feb
|
17 years |
jakub |
fat_node_put(). No locking so far.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@06901c6b
|
17 years |
jakub |
Add node_put() to libfs operations and instrument libfs_lookup() to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32fb10ed
|
17 years |
jakub |
Add fat_has_children(). Alse assume that fat_block_get() can never …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74ea3c6
|
17 years |
jakub |
Add fat_root_get() and fat_plb_get_char().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e22632a9
|
17 years |
jakub |
Somewhat complete implementation of fat_node_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1e3b26
|
17 years |
jakub |
Commit progress on the FAT file system server implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5446bee0
|
17 years |
jakub |
BPS read from FAT bootsector is little-endian. It must converted to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79dbc3e
|
17 years |
jakub |
Introduce and also use the foundation of block cache API in FAT's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f689a3e
|
17 years |
jakub |
Update comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@776f2e6
|
17 years |
jakub |
Replace all endian.h in uspace with a copy of the kernel's respective …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfa7bac
|
17 years |
jakub |
Convert FAT on-disk metadata from little-endian to native representation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2aa1dec
|
17 years |
jakub |
First untested bits of FAT lookup support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94b0b63
|
17 years |
jakub |
libfs' node_get() operation does not need the file system handle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@736c164
|
17 years |
jakub |
Make libfs_lookup() more generic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e790e6
|
17 years |
jakub |
Fix FAT boot sector definition and introduce the FAT in-core node type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f60a529
|
17 years |
jakub |
Return EBUSY if trying to mount something over an already mounted root …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2ec8c8
|
17 years |
jakub |
Introduce fs_handle_t, dev_handle_t and fs_index_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ad8e49
|
17 years |
jakub |
VFS index needs to be treated as uint64_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07deef5
|
17 years |
jakub |
Fibril serialization is required when two file systems register …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c31d773
|
17 years |
jakub |
Grab the nodes_futex when manipulating node link counts in rename() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8e9ab8d
|
17 years |
jakub |
Support for rename().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3298ddc
|
17 years |
jakub |
Support for multiple TMPFS node names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b6d98b
|
17 years |
jakub |
No need to keep the parent pointer in the TMPFS node. Moreover, other …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ca7059
|
17 years |
jakub |
Set the TMPFS root node's link count to 1.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adc8a63
|
17 years |
jakub |
Introduce real link counts for TMPFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dadcec1
|
17 years |
jakub |
Move canonify() to libc so that it can be used also on the libc side.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6084ef
|
17 years |
jakub |
Make VFS canonify path names on lookup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bb85f3
|
17 years |
jakub |
Add canonify() for file system path canonization.
Not yet used by VFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee68e4bc
|
17 years |
jakub |
contents_rwlock should not be acquired as a futex but rather as a rwlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fe1f75
|
17 years |
jakub |
Support for O_TRUNC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c448fb
|
17 years |
jakub |
Move the core lookup logic from TMPFS to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdb7795
|
17 years |
jakub |
Separate creation of a TMPFS node and its linking in the file system …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1ce550
|
17 years |
jakub |
Initialize the VFS node properly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75c426b4
|
17 years |
jakub |
Remove duplicate initialization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf19ab5
|
17 years |
jakub |
Unlink a TMPFS node more thoroughly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f15cf1a6
|
17 years |
jakub |
Support for rmdir(), unlink() and the respective VFS operations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e704503
|
17 years |
jakub |
Support for close().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16105cba
|
17 years |
jakub |
Add TMPFS support for destroying leaf links in the file system namespace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2616965d
|
17 years |
jakub |
When freeing up a TMPFS node, it should also be removed from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f17667a
|
17 years |
jakub |
Add the VFS_FREE operation. This operation frees up whatever …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5553a2
|
17 years |
jakub |
Introduce the notion of VFS node link counts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ccd2ea
|
17 years |
jakub |
Descend vs. descent.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acfdcb0
|
17 years |
jakub |
Remove the debugging hack from tmpfs_init(), which created several …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7017572
|
17 years |
jakub |
VFS_WRITE and tmpfs_write fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15b9970
|
17 years |
jakub |
VFS_OPEN and VFS_WRITE now understand O_APPEND.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2db4ac8
|
17 years |
jakub |
VFS_OPEN now understands O_CREAT and O_EXCL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72bde81
|
17 years |
jakub |
Support for mkdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fe186f
|
17 years |
jakub |
Move handling of the miss on excessive components out of the main loop …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8b23c8
|
17 years |
jakub |
More elegant, flexible and complete version of tmpfs_lookup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9415601
|
17 years |
jakub |
Additional VFS lookup flags.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae78b530
|
17 years |
jakub |
Introduce the notion of lflag (i.e. lookup flags) to support the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5973fd0
|
17 years |
jakub |
Finish implementation of readdir(). Functions from this family are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62da45a
|
17 years |
jakub |
Small fix for VFS_TRUNCATE. Move lookup and registration code to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ee4322
|
17 years |
jakub |
Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb27ce5a
|
17 years |
jakub |
Improve the API for converting (VFS triplets, size) to VFS nodes by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cad9c72
|
17 years |
jakub |
Make a distinction between VFS operations that are common to VFS and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@861e7d1
|
17 years |
jakub |
Merge all VFS operations into one file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67f63c4
|
17 years |
jakub |
Make uspace rwlock API naming conventions consistent with kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fff5eab
|
17 years |
jakub |
Management of the cached VFS node size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@752ccee
|
17 years |
jakub |
Previous commit was toxic. When emulating gaps, zero out the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41a0d27
|
17 years |
jakub |
TMPFS must handle file gaps.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@222e57c
|
17 years |
jakub |
Add libc and VFS implementation of lseek(), VFS_SEEK resp.
Add the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10d6b858
|
17 years |
jakub |
Introduce the open file lock. Modify vfs_rdwr() to take this lock into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|