|
|
@a274a5f
|
8 years |
jakub |
Cherry-pick a change from lp:~zarevucky-jiri/helenos/vfs-2.5 r1927
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@354b642
|
8 years |
jakub |
Merge from lp:~zarevucky-jiri/helenos/vfs-2.5/ revisions 1932-1936
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c577a9a
|
8 years |
jakub |
Merge from lp:~zarevucky-jiri/helenos/vfs-2.5 revisions 1929-1930
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1dff985
|
8 years |
jakub |
Merge from lp:~zarevucky-jiri/helenos/vfs-2.5 up to revision 1926
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1956e3
|
8 years |
jakub |
Fix cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e503517a
|
8 years |
jakub |
Introduce vfs_rdwr_internal()
This function can be used by the VFS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42d08592
|
8 years |
jakub |
Factor out IPC communication from vfs_rdwr()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f2c1ff
|
9 years |
jakub |
vfs: Sanitize the case when vfs_node_get() returns NULL in vfs_open()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6afc9d7
|
9 years |
jiri |
UNIX-like I/O functions should use errno to return error code for many …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@758f8d5
|
11 years |
m.lombardi85 |
merge the df branch
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feeac0d
|
11 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4636a60
|
11 years |
zarevucky.jiri |
Handle mounts at the server side, instead of in the endpoints.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5bcd5b7
|
11 years |
zarevucky.jiri |
Add support for server-side mounts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@677745a
|
11 years |
zarevucky.jiri |
Have lookup return the last found directory, and the portion of path …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7c62a9
|
11 years |
zarevucky.jiri |
Make the server oblivious to the link count. It is just another source …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@778d26d
|
11 years |
zarevucky.jiri |
Relativize rename().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf9dc4e2
|
11 years |
zarevucky.jiri |
Relativize and simplify lookup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d60ce4a
|
11 years |
zarevucky.jiri |
Remove UNLINK from the server.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20c071d
|
11 years |
zarevucky.jiri |
Implement server side of unlink2().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fadc76f
|
11 years |
zarevucky.jiri |
Remove MKDIR from server.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1cdc44a
|
11 years |
zarevucky.jiri |
Remove path-based stat() from the server.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@9dc6083
|
11 years |
conti.ma |
Implement statfs operation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66366470
|
11 years |
conti.ma |
Start to implement df command line tool.
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
|
|
|