|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@a93d79a
|
15 years |
jakub |
Do not hold the parent→idx→lock in when calling fat_idx_get_by_pos() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a1d8ab
|
15 years |
jakub |
Merge from lp:~jakub/helenos/fs.
This merge adds two important …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69a60c4
|
15 years |
martin |
implement sync
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dba4a23
|
15 years |
jakub |
Speed up sequential I/O by caching the "current" cluster in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da81e0
|
15 years |
jakub |
Modify _fat_block_get() to return the "current" cluster number to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a23d60
|
15 years |
jakub |
Use convenience macros for accessing FAT boot sector in fat_ops.c as well.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@377cce8
|
15 years |
jakub |
Start to cache the FAT node's last cluster in fat_node_t and change …
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
|
|
|
@24a2517
|
15 years |
jakub |
Do not try to create '.' and '..' entries in files in fat_link().
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
|
|
|
@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
|
|
|
@430de97
|
15 years |
jakub |
Add fat_node_fini_by_dev_handle() and finish fat_unmounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7efc517
|
15 years |
jakub |
Move fat_sanity_check() to fat_fat.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64aed80
|
15 years |
jakub |
Do not leak options in fat_mounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c11713
|
15 years |
jakub |
Add dummy libfs unmount support and change all file systems to use it. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92bee46
|
15 years |
jakub |
Refuse to mount FAT file systems with root directory entries that do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ffaab5
|
15 years |
jiri |
Remove accidentaly commited debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@711e1f32
|
15 years |
jiri |
Do some sanity checks when mounting a fat file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1313ee9
|
15 years |
martin |
introduce device namespaces
* add support for explicit open in libfs …
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
|
|
|
@dfddfcd
|
16 years |
jakub |
Make fat_write() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@453f2e75
|
16 years |
jakub |
Make fat_read() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1647323
|
16 years |
jakub |
Make fat_match() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0da4e41
|
16 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
|
|
|
@8810c63
|
16 years |
jakub |
Do not assume that a block is not dirty if we did not make it dirty. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a15176
|
16 years |
jakub |
Make fat_idx_get_new() return the exact error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fc1e5d
|
16 years |
jakub |
Make fat_node_get_core() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17bf658
|
16 years |
jakub |
Make fat_node_get_new() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6bc3a5
|
16 years |
jakub |
fat_node_get_core() needs to take the ffn_mutex before it manipulates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12bdc942
|
16 years |
jakub |
Remove dead code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@073f550
|
16 years |
jakub |
Update fat implementation of libfs operations wrt. the preceding API …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46c0498
|
16 years |
jakub |
Make fat_unlink() return an error code instead of hitting an assertion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b4668e
|
16 years |
jakub |
Make fat_link() return an error code instead of hitting an assertion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4098e38
|
16 years |
jakub |
Make fat_node_sync() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d044447
|
16 years |
jakub |
Merge FAT server error handling improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cca29e3c
|
16 years |
jakub |
Make fat_append_clusters(), fat_chop_clusters(), fat_free_clusters(), …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e402382
|
16 years |
jakub |
Make fat_cluster_walk() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@684b655
|
16 years |
jakub |
Make _fat_block_get() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ee00b7
|
16 years |
jiri |
Revamp block device interface: (1) block size is fixed, determined by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91f2d1b
|
16 years |
jakub |
Enable the block_get() and block_put() APIs to return error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d44aabd
|
16 years |
jakub |
Grow the parent node size if fat_link() allocates a new cluster.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d290ef4
|
16 years |
jakub |
fat_link() should zero out all the blocks of the newly allocated …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f116e7
|
16 years |
jakub |
Introduce fat_zero_cluster().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b713492b
|
16 years |
jakub |
Fix the root directory check when fat_link() needs to allocate a new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00a9625
|
16 years |
jakub |
fat_create_node() should mark new zeroed blocks dirty.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a405563
|
16 years |
jirik.svoboda |
Fix some warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75160a6
|
16 years |
jakub |
Add libfs_stat() and let FAT and TMPFS use it.
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
|
|
|
@1fbe064b
|
16 years |
jirik.svoboda |
Allow libblock to operate in write-through mode. With 'wtcache' mount …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebe721
|
16 years |
jakub |
Use fibril synchronization in FAT.
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
|
|
|
@c20aa06
|
16 years |
martin |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16d17ca
|
16 years |
jakub |
Add fs_handle argument to libfs_mount() needed to recognize homogenous …
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
|
|
|
@cf95bc0
|
16 years |
jakub |
Streamline TMPFS and fix its design so that it properly supports …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0be3e8b
|
16 years |
jakub |
Do not attempt to unlink non-empty FAT directories.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@770d281
|
16 years |
jakub |
Do not attempt to unlink() FAT root.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6035ba
|
16 years |
jakub |
Introduce the concept of FS nodes. A FS node is a typed abstraction of …
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
|
|
|
@6eb2e96
|
16 years |
jirik.svoboda |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
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
|
|
|
@699743c
|
16 years |
jakub |
Set a loop control variable properly when growing the FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32b65a
|
16 years |
jakub |
Add the ability to grow a FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1baec4b
|
16 years |
jakub |
Create "." and ".." entries on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a31c1ccf
|
16 years |
jakub |
Implement fat_unlink().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14c331a
|
16 years |
jakub |
Consider "prd" and "prd." to be the same FAT dentry names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49df572
|
16 years |
jakub |
When creating a new directory node, allocate the first cluster for it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5da446
|
16 years |
jakub |
When syncing a FAT node, do not skip attributes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fdd6bb
|
16 years |
jakub |
Add somewhat functional fat_link().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0013b9ce
|
16 years |
jakub |
libfs operation link() should return standard error code instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50e5b25
|
16 years |
jakub |
Add implementation of fat_destroy_node() and fat_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6571b78
|
16 years |
jakub |
Implementation of fat_create_node().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d8cdb1
|
16 years |
jakub |
Avoid unnecessary block reads in block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adb5fe3
|
17 years |
jakub |
libfs create operation should take the device handle as argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a3d5f0
|
17 years |
jakub |
Move common code to dedicated functions so that it can be easily reused.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac49f5d1
|
17 years |
jakub |
VFS_WRITE has two return arguments on success.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@913a821c
|
17 years |
jakub |
Finish implementation of fat_truncate() and fix several warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f1c0b4
|
17 years |
jakub |
Extend _fat_blcks_get() to fat_cluster_walk(). Use fat_cluster_walk() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8334a427
|
17 years |
jakub |
More fat_truncate() bits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c472aff
|
17 years |
jakub |
Enable fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c71a1f
|
17 years |
jakub |
Start implementing fat_truncate().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1ba5d6
|
17 years |
jakub |
Add block_cache_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6284978
|
17 years |
jakub |
Separate the block_init() phase from reading of the boot block.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d861950
|
17 years |
jakub |
move comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d974d8
|
17 years |
jakub |
fat_read() needs to stop reading beyond the EOF.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7858bc5f
|
17 years |
jakub |
Setup communication parameters with the block device in block_init(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0247bac
|
17 years |
jakub |
Directory size is always a multiple of BPS. Fix computation of number …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc840d9
|
17 years |
jakub |
Move libfs_blockread(), block_get() and block_put() to libblock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@beb17734
|
17 years |
jakub |
Implementation of fat_node_sync().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb682eb
|
17 years |
jakub |
Pass the buffer holding the boot sector to the internal functions so …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e17d986
|
17 years |
jakub |
Implementation of fat_append_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f57d0e
|
17 years |
jakub |
Move functionality related to manipulatings file allocation tables to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@033ef7d3
|
17 years |
jakub |
Move functionality related to FAT dentries to fat_dentry.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b0bc1f
|
17 years |
jakub |
Implementation of fat_alloc_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b7187
|
17 years |
jakub |
Implementation of fat_fill_gap().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|