ngkaho1234 [Sat, 14 Nov 2015 14:46:30 +0000 (22:46 +0800)]
ext4_journal: add block_get(_noread)/block_set.
ngkaho1234 [Fri, 13 Nov 2015 15:38:37 +0000 (23:38 +0800)]
Journalling(JBD) support skeletal code.
gkostka [Sat, 21 Nov 2015 17:59:15 +0000 (18:59 +0100)]
Refactor some problematic (too long) dir entry data structures
gkostka [Sat, 21 Nov 2015 17:32:54 +0000 (18:32 +0100)]
Style & indentation improvements in ext4 part 3
gkostka [Sat, 21 Nov 2015 16:52:55 +0000 (17:52 +0100)]
Style & indentation improvements in ext4 part 2
gkostka [Sat, 21 Nov 2015 16:21:11 +0000 (17:21 +0100)]
Refactoring: directrory entry prefix: EXT4_DIRENTRY* -> EXT4_DE*
gkostka [Sat, 21 Nov 2015 16:14:44 +0000 (17:14 +0100)]
Style & indentation improvements in ext4
gkostka [Sat, 21 Nov 2015 15:28:29 +0000 (16:28 +0100)]
Style/indentation fix in ext4_dir
gkostka [Thu, 19 Nov 2015 22:30:03 +0000 (23:30 +0100)]
Rename 'initialize_dir_tail' to 'ext4_dir_init_entry_tail'
gkostka [Thu, 19 Nov 2015 22:27:44 +0000 (23:27 +0100)]
Add #ifdef __cplusplus to all header files
gkostka [Thu, 19 Nov 2015 22:11:45 +0000 (23:11 +0100)]
Style/indentation fix in ext4_ialloc
gkostka [Thu, 19 Nov 2015 21:56:10 +0000 (22:56 +0100)]
Fix style/indentaton in ext4_inode
gkostka [Thu, 19 Nov 2015 21:45:16 +0000 (22:45 +0100)]
Remove some obsolete comments
gkostka [Thu, 19 Nov 2015 21:38:24 +0000 (22:38 +0100)]
Set new default configuration (remove some unnecessary definitions)
gkostka [Thu, 19 Nov 2015 20:54:14 +0000 (21:54 +0100)]
Fix compile warning
gkostka [Thu, 19 Nov 2015 20:24:32 +0000 (21:24 +0100)]
Style improve and code format in ext4_dir_idx module
gkostka [Tue, 17 Nov 2015 23:46:25 +0000 (00:46 +0100)]
Change assert in ext4_balloc to debug warning message
gkostka [Tue, 17 Nov 2015 23:17:11 +0000 (00:17 +0100)]
Code format in bcache & blockdev
gkostka [Tue, 17 Nov 2015 23:11:35 +0000 (00:11 +0100)]
Code format in ext4_balloc
gkostka [Tue, 17 Nov 2015 22:25:29 +0000 (23:25 +0100)]
Add to mkfs tool multiple features
1. Filesystem type selection from cli: ext2, ext3, ext4
2. Limit block sizes to: 1024, 2048, 4096
3. Free block calculation fix
gkostka [Tue, 17 Nov 2015 21:16:20 +0000 (22:16 +0100)]
Improve bg init in mkfs
gkostka [Tue, 17 Nov 2015 20:24:05 +0000 (21:24 +0100)]
Add block size cli option to mkfs tool
gkostka [Tue, 17 Nov 2015 20:07:22 +0000 (21:07 +0100)]
Multiple style fixes in ext4_fs
gkostka [Tue, 17 Nov 2015 19:16:59 +0000 (20:16 +0100)]
Fix style and indentation in ext4_fs module
1. ext4_fs_init_block_bitmap
2. ext4_fs_init_inode_bitmap
3. ext4_fs_init_inode_table
gkostka [Tue, 17 Nov 2015 14:48:55 +0000 (15:48 +0100)]
Add ext4_mkfs_read_info after mkfs & printf filesystem info
gkostka [Tue, 17 Nov 2015 14:39:28 +0000 (15:39 +0100)]
Indroduce verbose mode to lwext4_mkfs tool
gkostka [Tue, 17 Nov 2015 14:37:22 +0000 (15:37 +0100)]
Add extra debug information
gkostka [Tue, 17 Nov 2015 00:18:47 +0000 (01:18 +0100)]
Add to mkfs configurable descriptor size & hash seed init
gkostka [Tue, 17 Nov 2015 00:16:41 +0000 (01:16 +0100)]
Clear ext4_dir_idx_root in ext4_dir_dx_init
gkostka [Tue, 17 Nov 2015 00:15:36 +0000 (01:15 +0100)]
Code format
gkostka [Mon, 16 Nov 2015 23:10:39 +0000 (00:10 +0100)]
Move search result intit to begin of ext4_dir_find_entry
gkostka [Mon, 16 Nov 2015 22:22:19 +0000 (23:22 +0100)]
Create root & lost+found directories as index inodes if possible
gkostka [Mon, 16 Nov 2015 22:04:45 +0000 (23:04 +0100)]
Mkfs works for ext2/ext3 features
gkostka [Mon, 16 Nov 2015 21:28:06 +0000 (22:28 +0100)]
Introduce init_bgs in mkfs module
gkostka [Mon, 16 Nov 2015 20:28:08 +0000 (21:28 +0100)]
Create default directory structure in mkfs
gkostka [Mon, 16 Nov 2015 19:39:15 +0000 (20:39 +0100)]
Code format
gkostka [Mon, 16 Nov 2015 19:29:36 +0000 (20:29 +0100)]
Sblock fill by using to_le32/to_le_16 macros & drop gdt_reserved blocks
gkostka [Mon, 16 Nov 2015 19:28:02 +0000 (20:28 +0100)]
Add ext4_sb_set_blocks_cnt
gkostka [Sun, 15 Nov 2015 23:32:28 +0000 (00:32 +0100)]
Add mkfs_initial and default inodes alocation
gkostka [Sun, 15 Nov 2015 22:11:34 +0000 (23:11 +0100)]
Block group descriptors write in mkfs module
gkostka [Sun, 15 Nov 2015 22:01:21 +0000 (23:01 +0100)]
Enable debug in lwext4_mkfs tool
gkostka [Sun, 15 Nov 2015 21:59:57 +0000 (22:59 +0100)]
Set cache dynamic as default in generic application
gkostka [Sun, 15 Nov 2015 21:59:05 +0000 (22:59 +0100)]
Add some helper functions to ext4_block_group.h
gkostka [Sun, 15 Nov 2015 21:57:32 +0000 (22:57 +0100)]
Return success when 0 block read/write is called
ngkaho1234 [Sun, 15 Nov 2015 09:24:41 +0000 (17:24 +0800)]
ext4_mkfs: use EXT4_SUPERBLOCK_SIZE instead of sizeof op.
gkostka [Sat, 14 Nov 2015 11:18:44 +0000 (12:18 +0100)]
ext4_mkfs is able to create image with sblock and basic features
TBD:
- block groups descriptors
- ext3/ext4 feature handling
- root and lost+found directories
- journal inode
gkostka [Sat, 14 Nov 2015 11:17:25 +0000 (12:17 +0100)]
Remove obsolete feature flag
ngkaho1234 [Sat, 14 Nov 2015 10:52:15 +0000 (10:52 +0000)]
define _LARGEFILE64_SOURCE to be able to access large files.
ngkaho1234 [Sat, 14 Nov 2015 10:55:45 +0000 (10:55 +0000)]
ext4_mkfs: fix SIGSEGV caused by inaccurate memory allocation size.
gkostka [Fri, 13 Nov 2015 22:35:51 +0000 (23:35 +0100)]
Add lwext4_mkfs tool skeleton
gkostka [Fri, 13 Nov 2015 21:14:03 +0000 (22:14 +0100)]
Move all test modules to fs_test directory
gkostka [Fri, 13 Nov 2015 21:10:59 +0000 (22:10 +0100)]
Add block device skeleton module
gkostka [Fri, 13 Nov 2015 21:09:07 +0000 (22:09 +0100)]
Remove obsolete chibios block devices
ngkaho1234 [Tue, 10 Nov 2015 04:07:50 +0000 (04:07 +0000)]
Replace ext4_block_get with ext4_block_get_noread:
ext4_dir, ext4_dir_idx, ext4_extent, ext4_fs
ngkaho1234 [Mon, 9 Nov 2015 08:49:45 +0000 (08:49 +0000)]
FIX: ext4_extent: checksumming against newly allocated block.
ngkaho1234 [Sun, 8 Nov 2015 10:18:23 +0000 (10:18 +0000)]
Add comments on the introduction of up-to-date flag
ngkaho1234 [Sun, 8 Nov 2015 07:24:42 +0000 (07:24 +0000)]
Use ext4_block_get_noread when read operation is not required
ngkaho1234 [Sat, 7 Nov 2015 17:35:15 +0000 (17:35 +0000)]
Reworks on buffer management
1. ext4_bcache: use flags arrayinstead of dirty boolean array.
2. ext4_blockdev: ext4_block_get_noread added.
ngkaho1234 [Thu, 5 Nov 2015 13:10:16 +0000 (13:10 +0000)]
FIX: item->in_inode is not initialized.
ngkaho1234 [Thu, 5 Nov 2015 10:14:29 +0000 (10:14 +0000)]
EA: trusted, security namespace added.
"system.richacl" added.
ngkaho1234 [Thu, 5 Nov 2015 09:41:01 +0000 (09:41 +0000)]
EA: ea entries with name "system.data" should be
preferentially stored in inode body.
gkostka [Thu, 5 Nov 2015 07:27:38 +0000 (08:27 +0100)]
Fix travis build
gkostka [Thu, 5 Nov 2015 07:12:58 +0000 (08:12 +0100)]
Add arm-none-eabi-gcc toolchain to travis build
ngkaho1234 [Sun, 1 Nov 2015 14:11:35 +0000 (14:11 +0000)]
ext4_fs_inode_checksum: fix checksum calculation
If inode size is not large enough to hold 32bit checksum,
then return lower 16bit.
ngkaho1234 [Sun, 1 Nov 2015 14:09:16 +0000 (14:09 +0000)]
ext4_generic_open2: add EXT4_FINCOM_FILETYPE check
When following the path, we should check whether
EXT4_FINCOM_FILETYPE is enabled.
gkostka [Sat, 31 Oct 2015 20:48:09 +0000 (21:48 +0100)]
Update README.md
gkostka [Thu, 29 Oct 2015 22:21:20 +0000 (23:21 +0100)]
Code format in dir_idx module
gkostka [Thu, 29 Oct 2015 21:59:18 +0000 (22:59 +0100)]
Refactor directory related names (shorter)
gkostka [Thu, 29 Oct 2015 20:23:51 +0000 (21:23 +0100)]
Fix printf fotmating in lwext4_server
gkostka [Thu, 29 Oct 2015 20:12:08 +0000 (21:12 +0100)]
Enable debug symbols generation in generic build
gkostka [Thu, 29 Oct 2015 19:14:51 +0000 (20:14 +0100)]
Update README.md
gkostka [Thu, 29 Oct 2015 19:01:09 +0000 (20:01 +0100)]
Add travis build link
gkostka [Thu, 29 Oct 2015 18:52:23 +0000 (19:52 +0100)]
Reorder includes to fix travis build
gkostka [Thu, 29 Oct 2015 18:46:22 +0000 (19:46 +0100)]
Fix -Wformat-security warnings
gkostka [Thu, 29 Oct 2015 18:24:24 +0000 (19:24 +0100)]
Add travis.yml file
gkostka [Thu, 29 Oct 2015 17:52:34 +0000 (18:52 +0100)]
Fix compile warnings for 16 bit int architectures
gkostka [Thu, 29 Oct 2015 17:48:05 +0000 (18:48 +0100)]
Fix compile error when META_CSUM is disabled
gkostka [Thu, 29 Oct 2015 17:32:29 +0000 (18:32 +0100)]
Refactor debug message format (CONFIG_DEBUG_PREFIX)
On some embedded devices debug printf length is limited to less
than 80 characters. It is good to have compile switch to control debug
prefix enable/disable.
ngkaho1234 [Thu, 29 Oct 2015 11:25:25 +0000 (19:25 +0800)]
FIX: ext4_extent_full.c: should not assign checksum to extent root(in inode)
ngkaho1234 [Thu, 29 Oct 2015 10:29:20 +0000 (18:29 +0800)]
Do not verify checksum upon seeking in the directory.
ngkaho1234 [Thu, 29 Oct 2015 10:13:12 +0000 (18:13 +0800)]
ext4_dbg now shows line number
ngkaho1234 [Thu, 29 Oct 2015 09:56:21 +0000 (17:56 +0800)]
FIX: fake inode checksum failing message.
ngkaho1234 [Thu, 29 Oct 2015 09:23:45 +0000 (09:23 +0000)]
Add ext4_dir_checksum_verify prototype
ngkaho1234 [Thu, 29 Oct 2015 05:55:20 +0000 (05:55 +0000)]
METADATA_CSUM: linear directory checksum verification added
ngkaho1234 [Thu, 29 Oct 2015 05:55:02 +0000 (05:55 +0000)]
METADATA_CSUM: HTree directory checksum verification added
gkostka [Wed, 28 Oct 2015 18:31:21 +0000 (19:31 +0100)]
Fix compile error
ngkaho1234 [Wed, 28 Oct 2015 14:20:52 +0000 (14:20 +0000)]
METADATA_CSUM: simple extent implementation checksum verification added
ngkaho1234 [Wed, 28 Oct 2015 14:20:10 +0000 (14:20 +0000)]
ext4_extent_full.c: print warning messages when extent block checksum verification fails
ngkaho1234 [Wed, 28 Oct 2015 13:54:37 +0000 (13:54 +0000)]
METADATA_CSUM: inode and block group descriptor checksum verification added
ngkaho1234 [Wed, 28 Oct 2015 13:23:53 +0000 (13:23 +0000)]
Don't access those checksum fields if metadata_csum is not enabled.
ngkaho1234 [Wed, 28 Oct 2015 13:17:23 +0000 (13:17 +0000)]
Remove BIG FAT NOTE from ext4_balloc.c and ext4_ialloc.c
ngkaho1234 [Wed, 28 Oct 2015 10:14:36 +0000 (18:14 +0800)]
METADATA_CSUM: inode bitmap verification added
ngkaho1234 [Wed, 28 Oct 2015 10:14:22 +0000 (18:14 +0800)]
METADATA_CSUM: block bitmap verification added
gkostka [Wed, 28 Oct 2015 08:06:41 +0000 (09:06 +0100)]
Disable checksum calculation when CONFIG_META_CSUM_ENABLE is off
ngkaho1234 [Wed, 28 Oct 2015 02:54:33 +0000 (02:54 +0000)]
FIX: simple extent implementation overwriting the inode block.
gkostka [Tue, 27 Oct 2015 21:36:27 +0000 (22:36 +0100)]
Update readme.mediawiki
gkostka [Tue, 27 Oct 2015 20:28:47 +0000 (21:28 +0100)]
Introduce CONFIG_META_CSUM_ENABLE flag
For ext2 & ext3 feature set metadata checksum could be disabled at
compile time
gkostka [Tue, 27 Oct 2015 19:56:04 +0000 (20:56 +0100)]
Introduce EXT4_CRC32_INIT instead of ~0
Using ~0 is potential dangerous in 8/16 bit architectures
gkostka [Tue, 27 Oct 2015 19:47:21 +0000 (20:47 +0100)]
Fix compile warnings
gkostka [Tue, 27 Oct 2015 19:46:53 +0000 (20:46 +0100)]
Fix compile error when simple extent enabled