|
|
@ff8c87c
|
11 years |
zarevucky.jiri |
Remove VFS_IN_OPEN from the server and fix trace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a8c188
|
11 years |
zarevucky.jiri |
Fix a bug and work around applications that call open() incorrectly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b18364
|
11 years |
zarevucky.jiri |
Implement client side of walk and open.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb65bbe
|
11 years |
zarevucky.jiri |
Implement server side of VFS_WALK and VFS_OPEN2.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e6a98c5
|
12 years |
jiri |
Standards-compliant boolean type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50b581d
|
13 years |
jakub |
Replace the async_wait_for(msg, NULL) pattern in the error paths with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6da6d5
|
13 years |
jakub |
Improve error handling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@460514d
|
13 years |
m.lombardi85 |
mount() should fail if there is not enough memory to add the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4af2f36
|
13 years |
m.lombardi85 |
move code outside mutex-protected sections if not needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f9ef87a
|
13 years |
m.lombardi85 |
Do not add the fs to the mtab list if vfs_mount_internal() failed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b8e5b7
|
13 years |
m.lombardi85 |
vfs_get_mtab(): service_id is more useful than flags and fs_handle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e8403b
|
13 years |
m.lombardi85 |
Revert previous commit, fix ipc answer in case of error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8a894d
|
13 years |
m.lombardi85 |
Fix IPC answer in case of error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8838b8
|
13 years |
m.lombardi85 |
flag, instance, and fs_handle fields can be sent together in a single …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daf8ff2
|
13 years |
m.lombardi85 |
Fix memory leak
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45ffe9f
|
13 years |
m.lombardi85 |
Do the mount only if it was possible to add the fs info to the mtab list
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d6a41c
|
13 years |
m.lombardi85 |
Remove the mtab_list_ent structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76a67ce
|
13 years |
m.lombardi85 |
vfs_get_mtab:
- Remove mtab entry when unmounting a filesystem
- Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10e4cd7
|
13 years |
m.lombardi85 |
Initial implementation of vfs mtab_read support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@286286c
|
13 years |
jakub |
Cstyle fixes and cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4979403
|
13 years |
jakub |
Allow more instances of the same FS to be used.
(Thanks to Maurizio …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c69646f8
|
13 years |
jakub |
Fix deadlock caused by a too early released exchange.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42a619b
|
13 years |
jakub |
Merge from lp:~jakub/helenos/camp2011.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27b76ca
|
13 years |
jakub |
Synchronize VFS handle acceptor with VFS.
* Introduce …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b33ec43
|
13 years |
jakub |
Remove support for directly opening nodes from VFS and libfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86ffa27f
|
13 years |
jiri |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5bb9907
|
13 years |
jakub |
Fix VFS_OUT_READ and VFS_OUT_WRITE with respect to 64-bit file sizes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7eb0fed8
|
13 years |
jakub |
Fix VFS_OUT_MOUNT and VFS_OUT_MOUNTED with respect to 64-bit file sizes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15f3c3f
|
14 years |
jiri |
Rename devmap to loc, devfs to locfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b72efe8
|
14 years |
jiri |
Separate list_t typedef from link_t (user-space part).
* list_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79ae36dd
|
14 years |
martin |
new async framework with integrated exchange tracking
* strict …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25bef0ff
|
14 years |
jakub |
Make sure to send VFS_OUT_CLOSE upon dropping the last file reference.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ccca251
|
14 years |
martin |
improve comments, use C++ style comments for TODOs and FIXMEs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@28a3e74
|
14 years |
jiri |
Fix comment style.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@71af5a4
|
14 years |
jakub |
Put the old VFS node also in error paths of vfs_rename().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffa2c8ef
|
14 years |
martin |
do not intermix low-level IPC methods with async framework methods
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4fe94c66
|
14 years |
jakub |
Now when the table of open files is shared by multiple connections of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b75e929
|
14 years |
jakub |
Put the table of open files into the async client data.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@228e490
|
14 years |
martin |
initial modifications for supporting declarative IPC interfaces
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
14 years |
martin |
more unification of basic types
- use sysarg_t and native_t (unsigned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c2f4b6b
|
14 years |
jakub |
Take the VFS node's content lock as reader even during writes when it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a4b3ba
|
14 years |
jakub |
Fix a regression introduced by changeset …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df8415
|
14 years |
jakub |
Cstyle fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@991f645
|
14 years |
jakub |
Rename dev_handle_t to devmap_handle_t and make it explicitly clear …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49d871ea
|
14 years |
jakub |
Merge from lp:~jakub/helenos/fs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1882525
|
14 years |
jakub |
Unlock the mutex also in the error return paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df908b3
|
14 years |
jakub |
Use async relations introduced in the previous changeset to implement …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9539be6
|
15 years |
martin |
autotool now also detects values of UINT_MAX and friends
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@179d052
|
15 years |
jakub |
Assert that file is not NULL in vfs_open().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19f857a
|
15 years |
jiri |
Rename string.h to str.h to avoid header conflict with standard C string.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed903174
|
15 years |
martin |
implement support for 64bit file offsets
* the libc API is a small …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cac2d69
|
15 years |
martin |
fix futile typedef to a working one
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eda925a
|
15 years |
martin |
improve naming conventions:
merge async_data_receive() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4cbef1
|
15 years |
martin |
add minimal data size check into async_data_receive
introduce more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@472c09d
|
15 years |
martin |
more consistent naming scheme:
async_data_blob_receive → …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f29a3a2
|
15 years |
jakub |
Clean up the table of open files after the client closes its VFS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6a4e972
|
15 years |
jakub |
VFS_OUT_UNMOUNT method should be accompanied by a file system index …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea44bd1
|
15 years |
jakub |
When looking up the mount point node during vfs_mount() L_MP must be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7376cbf
|
15 years |
jakub |
Rename L_NOCROSS_LAST_MP to L_MP and introduce L_ROOT.
Lookup the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae75e2e3
|
15 years |
jakub |
Finish implementation of VFS_IN_UNMOUNT in vfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b995b92
|
15 years |
jakub |
Introduce the L_NOCROSS_LAST_MP lookup flag and treat the last mount …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f5e070
|
15 years |
jakub |
Add dummy implementation of VFS_IN_UNMOUNT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@08232ee
|
15 years |
jiri |
Obtain block device size automatically, if possible. Implement …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e4cada
|
15 years |
martin |
rename fibril_sync.[ch] to fibril_synch.[ch]
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b88074b
|
15 years |
martin |
vfs: file descriptors housekeeping changes
- add support for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0da4e41
|
15 years |
jakub |
ipc_data_*() and ipc_share_*(), respectively, should be renamed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec8bab59
|
15 years |
martin |
remove superfluous variable
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd2cfa7
|
15 years |
jirik.svoboda |
Even more warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@057760d3
|
15 years |
martin |
avoid unaligned memory access
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@415c7e0d
|
15 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
|
15 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
|
15 years |
jakub |
Separate the VFS input and output protocols.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b47fa2
|
15 years |
jakub |
Do not use the "pending" fibril mechanism in VFS
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
|
|
|
@af7383f
|
16 years |
jakub |
Handle pending mounts using only one fibril.
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@83937ccd
|
16 years |
jakub |
Rudimentary support for non-root mounts.
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
|
|
|
@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
|
|
|
@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
|
|
|
@b17186d
|
16 years |
jakub |
Hold the namespace_rwlock during readdir().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c61d34b
|
16 years |
jirik.svoboda |
Fix assorted warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ab597d
|
16 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
|
16 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
|
16 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
|
|
|