|
|
@dd2cfa7
|
16 years |
jirik.svoboda |
Even more warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@057760d3
|
16 years |
martin |
avoid unaligned memory access
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@415c7e0d
|
16 years |
jakub |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@852b801
|
16 years |
jakub |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4198f9c3
|
16 years |
jakub |
Separate the VFS input and output protocols.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9593bc8
|
16 years |
jakub |
Use condvar broadcast instead of signal when registering a new file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b47fa2
|
16 years |
jakub |
Do not use the "pending" fibril mechanism in VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed990cf
|
16 years |
jakub |
Remove an obsolete comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@553492be
|
16 years |
jakub |
Finish converting VFS to fibril synchronization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34ca870
|
16 years |
jakub |
Handle each VFS request using a dedicated connection.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af7383f3
|
16 years |
jakub |
Handle pending mounts using only one fibril.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26360f7
|
16 years |
jirik.svoboda |
Use 'fibril_local' modifier for fibril-local variables instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e13bfa
|
16 years |
jakub |
Synchronize access to pending_req.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e31a2b
|
16 years |
martin |
remove yet another serialization which is not needed anymore
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@230260ac
|
16 years |
jakub |
Make VFS use the new synchronization for fibrils. Now there should be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9c8c81
|
16 years |
martin |
rename libadt → adt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05b9912
|
16 years |
martin |
VFS rewrite:
- add new VFS methods
- VFS_NODE for getting VFS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50461f2
|
16 years |
martin |
revert commit 4443 and implement a much finer solution as suggested by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0a1d961
|
16 years |
jakub |
Put a comment for consideration.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bda76b
|
16 years |
martin |
serialization of VFS_OPEN implementation to avoid lockup by concurrent …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c0b800
|
16 years |
jakub |
Fix function definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac23b9d3
|
16 years |
martin |
avoid accessing uninitialized files array at all times
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@493853ec
|
16 years |
jakub |
Hold the namespace rwlock during the entire operation of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae55ee8
|
16 years |
jakub |
Fix rename() on a non-root file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0110d
|
16 years |
martin |
add space before $@
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83937ccd
|
16 years |
jakub |
Rudimentary support for non-root mounts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c2eee0
|
16 years |
jakub |
Remove unused and non-functional code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1090b8c
|
16 years |
jirik.svoboda |
C binding for devmap. Gets rid of duplicate code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f46695e
|
16 years |
jakub |
Lookup a node's parent lexically rather than using the broken L_PARENT …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14040e5
|
16 years |
jakub |
Allow rename("a", "aa");
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@386e276
|
16 years |
jakub |
Negative file descriptors shoud be considered invalid.
This fixes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@594303b
|
16 years |
jakub |
Support mount options.
Let tmpfs decide whether to start empty or …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c08c355
|
16 years |
jakub |
Make IPC_M_PING part of the VFS_MOUNT protocol again.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58d7280
|
16 years |
jakub |
Return the actual error code instead of EREFUSED.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@732bb0c
|
16 years |
jirik.svoboda |
Nuke strncmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47a6708
|
16 years |
jirik.svoboda |
No need for strncmp() fs_name_to_handle() as vfs_info.name is always …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92fd52d7
|
16 years |
jirik.svoboda |
Nuke strcpy() and strcmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db90860
|
16 years |
jakub |
Just for pro forma, initialize the the link before use.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8dc72b64
|
16 years |
martin |
support for pending (blocking) mounts (waiting for the presence of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fcd7053
|
16 years |
martin |
cleanup configuration
code cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a5abf1
|
16 years |
jakub |
Allow VFS to interconnect two file system servers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a10b63
|
16 years |
jakub |
Do not close connection to VFS after a file system registers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4863e50b
|
16 years |
jakub |
Nuke VFS operations structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a0367f
|
17 years |
martin |
configuration system overhaul (requires newt)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0c9aff
|
17 years |
jirik.svoboda |
Clean .o files in individual makefiles.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b17186d
|
17 years |
jakub |
Hold the namespace_rwlock during readdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24d6efc
|
17 years |
jirik.svoboda |
Always include Makefile.config instead of passing ARCH and COMPILER to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c61d34b
|
17 years |
jirik.svoboda |
Fix assorted warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ab597d
|
17 years |
jakub |
Add reference to the mounted FS root.
This makes it possible to keep …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12fc042
|
17 years |
jakub |
Fix the VFS protocol so that the client can determine that VFS_MOUNT …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7f9087
|
17 years |
jakub |
Instead of aborting or crashing, return EBADF when an invalid file …
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
|
|
|
@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
|
|
|
@6c89f20
|
17 years |
martin |
disable extensive debugging output
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
|
|
|
@f689a3e
|
17 years |
jakub |
Update comment.
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@f7017572
|
18 years |
jakub |
VFS_WRITE and tmpfs_write fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15b9970
|
18 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
|
18 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
|
18 years |
jakub |
Support for mkdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9415601
|
18 years |
jakub |
Additional VFS lookup flags.
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
|
|
|
@62da45a
|
18 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
|
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
|
|
|
@eb27ce5a
|
18 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
|
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
|
|
|
@861e7d1
|
18 years |
jakub |
Merge all VFS operations into one file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67f63c4
|
18 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
|
18 years |
jakub |
Management of the cached VFS node size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@222e57c
|
18 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
|
18 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
|
|
|
@4db6eaf
|
18 years |
jakub |
Fix type in declaration of VFS node rwlock.
Introduce a dedicated type …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3c38750
|
18 years |
jakub |
Turn the namespace futex into rwlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9413c0d
|
18 years |
jakub |
Add basic rwlock API for uspace so that VFS can be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f57f8ea
|
18 years |
jakub |
Rename unlink_futex to namespace_futex and introduce a new futex for …
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
|
|
|
@27d293a
|
18 years |
jakub |
Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. 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
|
|
|
@ee1b8ca
|
18 years |
jakub |
VFS and TMPFS support for VFS_WRITE.
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
|
|
|
@36d852c
|
18 years |
jakub |
Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c786d1
|
18 years |
jakub |
After VFS_READ, update the position pointer in the open file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|