source: mainline/uspace/srv/vfs/vfs_ops.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @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
(edit) @42d08592   8 years jakub Factor out IPC communication from vfs_rdwr() lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @758f8d5   11 years m.lombardi85 merge the df branch lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @feeac0d   11 years jiri Simplify use of list_foreach. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9dc6083   11 years conti.ma Implement statfs operation. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @3e6a98c5   12 years jiri Standards-compliant boolean type. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @e6da6d5   13 years jakub Improve error handling. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @daf8ff2   13 years m.lombardi85 Fix memory leak lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @8d6a41c   13 years m.lombardi85 Remove the mtab_list_ent structure. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @286286c   13 years jakub Cstyle fixes and cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @42a619b   13 years jakub Merge from lp:~jakub/helenos/camp2011. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @27b76ca   13 years jakub Synchronize VFS handle acceptor with VFS. * Introduce … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @86ffa27f   13 years jiri Merge mainline changes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @15f3c3f   13 years jiri Rename devmap to loc, devfs to locfs. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b72efe8   13 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
(edit) @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
(edit) @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
(edit) @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
(edit) @28a3e74   14 years jiri Fix comment style. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @228e490   14 years martin initial modifications for supporting declarative IPC interfaces lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @3a4b3ba   14 years jakub Fix a regression introduced by changeset … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8df8415   14 years jakub Cstyle fixes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @49d871ea   14 years jakub Merge from lp:~jakub/helenos/fs. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @9539be6   14 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
(edit) @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
(edit) @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
(edit) @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
(edit) @4cac2d69   15 years martin fix futile typedef to a working one lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @7f5e070   15 years jakub Add dummy implementation of VFS_IN_UNMOUNT. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @ec8bab59   15 years martin remove superfluous variable lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dd2cfa7   15 years jirik.svoboda Even more warnings. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @057760d3   15 years martin avoid unaligned memory access lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @4198f9c3   15 years jakub Separate the VFS input and output protocols. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @553492be   15 years jakub Finish converting VFS to fibril synchronization. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @34ca870   15 years jakub Handle each VFS request using a dedicated connection. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @af7383f   16 years jakub Handle pending mounts using only one fibril. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8e13bfa   16 years jakub Synchronize access to pending_req. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @d9c8c81   16 years martin rename libadt → adt lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @0c0b800   16 years jakub Fix function definition. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @83937ccd   16 years jakub Rudimentary support for non-root mounts. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @14040e5   16 years jakub Allow rename("a", "aa"); lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @732bb0c   16 years jirik.svoboda Nuke strncmp(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @92fd52d7   16 years jirik.svoboda Nuke strcpy() and strcmp(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @b17186d   16 years jakub Hold the namespace_rwlock during readdir(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.