summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-01-27Tone logging down a bit.disk-writer-debugCarl Hetherington
2023-01-19Add logging to ext4_mkfs.Carl Hetherington
2022-06-20Fix free block count in last block group.Carl Hetherington
This calculation is done when making the group bitmaps but wasn't being done here, so e2fsck would give an error with certain partition sizes.
2022-06-19Fix potential buffer overwrite.Carl Hetherington
2022-06-18Revert "Don't initialise inode tables during format."Carl Hetherington
I think the flag which we were using here (to ask the OS to fill in the inode tables when the drive is first mounted) is only supported by ext4, so will be ignored when the disk is mounted as ext2. This means that e2fsck gives a long list of errors (DoM bug #2274). This reverts commit 6d34064b3a4b07218b01f6cc7700ee2ce68a7542.
2021-05-28Fix some overflows when making larger partitions (e.g. 2TB) (DoM bug #2021)Carl Hetherington
2021-03-09Add progress reporting for formatting.Carl Hetherington
2021-03-09Don't initialise inode tables during format.Carl Hetherington
2021-03-09Use writebytes when writing group descriptors.Carl Hetherington
This may be faster but I should test it. The code is cleaner and should be equivalent, as far as I can see.
2021-03-09Write block/inode bitmaps and inode tables earlier.Carl Hetherington
Before we would write blank block/inode bitmap tables then fill them in later. This is a bit of a hack to set up enough of the data structures (I think) to allow the correct block/inode bitmaps to be written first time. This may not be worth the hack/risk - I haven't tested the speed improvement carefully.
2021-03-09Write all block group headers sequentially.Carl Hetherington
Before this the code would write: headers for blocks 0-127 (without group descriptors) group descriptors for blocks 0-127 to all blocks on disk headers for blocks 128-255 group descriptors for blocks 128-255 to all blocks on disk ...
2020-05-02Add some more debugging.Carl Hetherington
2020-04-24Build static on Linux.Carl Hetherington
2020-04-13Use 64-bit quantities for partition size when writing MBR.Carl Hetherington
This fixes attempts to make partitions > 4GB.
2018-12-02Fix jbd_commit_header::chksum_{type,size}Fangrui Song
2018-09-26ext4: fix ext4_fsymlink creationGrzegorz Kostka
Solve the problem with long symbolic links creation. Thanks to: @cobenhan
2018-09-26ext4_dir: fix non existing entry creation issuerajeshvenkataraman
Added the length of the name string a a parameter. Using strlen() on the name string may not give the correct length in case of paths like: /mountpoint/nonexistdir1/nonexistdir2.
2018-04-05ext4: move ext4_fs_alloc_inode result check to right placeGrzegorz Kostka
2018-03-01Merge pull request #36 from mmmaisel/devGrzegorz Kostka
Improvements from ext4-browser project
2018-03-01Merge pull request #35 from mmmaisel/cmakeGrzegorz Kostka
CMake: Added option whether to build static or shared library
2018-03-01CMake: Added option whether to build static or shared libraryMax
2018-03-01ext4-mkfs: Use correct partition sizeMax Maisel
2018-03-01ext4-mbr-write: Fixed partition size calculationMax Maisel
2018-03-01ext4_mkfs: Added UUID parameter to create new filesystems with non-zero UUIDMax Maisel
2018-03-01ext4_mbr: Added "disk_id" parameter to MBR creation functionMax Maisel
2017-10-18Use int64_t as offset to ext4_fseek.Fan Deng
This change makes it possible to fseek backwards in fseek. Tested: make test_all
2017-10-17Remove an unuseful if check in ext4.c.Fan Deng
The if check on s_bdevices[i].name is unuseful, as 'name' always evaluates to true: if (s_bdevices[i].name) { ... } This change removes the check to be consistent with the rest of the code (see line 124 and 144).
2017-10-08move function call outside assert()raandoom
2017-07-13Fix a compile issue with big endian config & some small issues fixesbranzhu
2017-07-11Suppress gcc 7.xx warnings (fall through in switch statement)gkostka
2017-06-30ext4_journal: fix not purging enough transactionsKaho Ng
We have to purge all consecutive transactions that has all its buffers written to persistent location.
2017-06-22ext4_balloc: fix not creating revoke records correctlyKaho Ng
We fix ext4_balloc_free_blocks() not creating revoke records correctly according to start block and block count parameter from caller.
2017-06-22ext4_balloc: fix not invaliding cache correctlyKaho Ng
We fix ext4_balloc_free_blocks() not invaliding cache correctly according to start block and block count parameter from caller.
2017-05-31ext4: fix transaction start/stop scopesGrzegorz Kostka
Remove transaction scope from ext4_generic_open2 method.
2017-05-20ext4_config: add defines allowing disabling xattr and extent modulesgkostka
2017-05-20ext4_dir_idx: make qsort as a default dir idx sort algorithmgkostka
2017-05-20Make ext4_xattr & ext4_extents GPL licensedgkostka
2017-04-19ext4: add ext4_inode_exist methodgkostka
2017-04-19ext4_journal: fix error handling in jbd_get_fsgkostka
2017-04-05Change include type policygkostka
Since all headers are ins separate directory, includes could be done by using <> instead of "".
2017-03-24Fix issues with big-endian systembranzhu
2017-02-28ext4_xattr: fix access violation if extra_isize is 0Kaho Ng
2017-02-28ext4_fs: set i_extra_isize to ext4_sblock::min_extra_isizeKaho Ng
2017-02-28ext4_inode: deal with i_extra_isize depending on inode sizeKaho Ng
2017-02-27ext4_xattr: fix trying to read EA block even if it is absentKaho Ng
2017-02-21ext4_mkfs: add journal node creation supportgkostka
2017-02-19ext4: improve dox documentation stylegkostka
2017-02-17ext4: little style improvementsGrzegorz Kostka
2017-02-17ext4: remove dynamic block cache allocation in ext4_mountGrzegorz Kostka
2017-02-17ext4: remove block cache parameter from device_register functiongkostka
This parameter is useless since cache is always initialized by malloc.