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

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(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) @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   13 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   15 years jakub Handle pending mounts using only one fibril. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8e13bfa   15 years jakub Synchronize access to pending_req. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @230260ac   15 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   15 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
(edit) @c61d34b   16 years jirik.svoboda Fix assorted warnings. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @f49b0ea   16 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
(edit) @6c89f20   17 years martin disable extensive debugging output lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @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
(edit) @a8e9ab8d   17 years jakub Support for rename(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d6084ef   17 years jakub Make VFS canonify path names on lookup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @7fe1f75   17 years jakub Support for O_TRUNC. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @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
(edit) @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
(edit) @e704503   17 years jakub Support for close(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f7017572   17 years jakub VFS_WRITE and tmpfs_write fixes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @15b9970   17 years jakub VFS_OPEN and VFS_WRITE now understand O_APPEND. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2db4ac8   17 years jakub VFS_OPEN now understands O_CREAT and O_EXCL. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @72bde81   17 years jakub Support for mkdir(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ae78b53   17 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
(edit) @62da45a   17 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
(edit) @0ee4322   17 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
(edit) @eb27ce5a   17 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
(edit) @cad9c72   17 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
(add) @861e7d1   17 years jakub Merge all VFS operations into one file. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.