|
|
@a61d1fc3
|
17 years |
jakub |
Pass block size to block_get() in the last argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61bc901
|
17 years |
jakub |
Add a comment to libfs_blockread() and change type from size_t to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2c1fd5
|
17 years |
jakub |
Move tmpfs_blockread() to libfs and rename it to libfs_blockread(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f429c0
|
17 years |
jakub |
Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ade06b4
|
17 years |
jakub |
Avoid magic numbers in tmpfs_dump.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
18 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
|
18 years |
jakub |
VFS_WRITE and tmpfs_write fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72bde81
|
18 years |
jakub |
Support for mkdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fe186f
|
18 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
|
18 years |
jakub |
More elegant, flexible and complete version of tmpfs_lookup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae78b530
|
18 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
|
18 years |
jakub |
Finish implementation of readdir(). Functions from this family are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ee4322
|
18 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
|
|
|
@cad9c72
|
18 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
|
|
|
@7fff5eab
|
18 years |
jakub |
Management of the cached VFS node size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@752ccee
|
18 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
|
18 years |
jakub |
TMPFS must handle file gaps.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@215e375
|
18 years |
jakub |
The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3115355
|
18 years |
jakub |
Simplify the IPC_M_DATA_WRITE protocol. Do not pass the source address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92688eb
|
18 years |
jakub |
Rename variable from 'size' to 'len'.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1bf5cb
|
18 years |
jakub |
The previous commit was not entirely sane.
Handle VFS_WRITE correctly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee1b8ca
|
18 years |
jakub |
VFS and TMPFS support for VFS_WRITE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7dab6b8
|
18 years |
jakub |
Fix two bugs in TMPFS-side VFS_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a92da0a
|
18 years |
jakub |
Reimplement VFS_READ using IPC_M_DATA_READ.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4eb8a60
|
18 years |
jakub |
VFS work.
Foundation for TMPFS-side VFS_READ and fixes in VFS-side …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b11571
|
18 years |
jakub |
TMPFS work.
VFS_LOOKUP implemented.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d5cdffe
|
18 years |
jakub |
Start TMPFS.
Not loaded during boot as there is a reproducible kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c82d28
|
18 years |
jakub |
Move incomplete fs interface from fat.h to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efd4a72
|
18 years |
jakub |
VFS work.
Move FS registration code to libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9119d25
|
18 years |
jakub |
FAT work.
Foundation for FAT dentry comparison function.
Beware of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6364d3c
|
18 years |
jakub |
Sync IPC comments with IPC code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38c706cc
|
18 years |
malyzelenyhnus |
Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b61d47d
|
18 years |
malyzelenyhnus |
Function ipc_connect_me_to sends 3 user defined arguments now.
One …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@263e1ec
|
18 years |
jakub |
FAT work.
Add type describing FAT directory entry.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5af627fc
|
18 years |
jakub |
FAT work.
Add type describing FAT boot sector.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be815bc
|
18 years |
jakub |
FAT work.
Start VFS_LOOKUP support in FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b74959bd
|
18 years |
jakub |
Modify ipc_answer_*() to make use of all six syscall arguments. The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e51969
|
18 years |
jakub |
Modify synchronous IPC to make use of all six syscall arguments. The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20614d0
|
18 years |
jakub |
Add ipc_answer_fast_[01] macros so that ipc_answer_fast() users don't …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@116d3f6f
|
18 years |
jakub |
Rename fibril_schedule_next_adv() to fibril_switch(). Rename …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f4cfb1e
|
18 years |
jakub |
VFS work.
Upon FS registration via VFS_REGISTER, the client is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37e7dc54
|
18 years |
jakub |
VFS work.
Modify the protocol so that VFS and FAT (or any other FS) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4627c4
|
18 years |
jakub |
VFS work.
Describe the bottleneck of one VFS-FS connection in fat.c. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|