u-boot-brain/fs/ext4
Stefan Brüns a321abd54f ext4: Scan all directory blocks for space when inserting a new entry
Previously, only the last directory block was scanned for available space.
Instead, scan all blocks back to front, and if no sufficient space is
found, eventually append a new block.
Blocks are only appended if the directory does not use extents or the new
block would require insertion of indirect blocks, as the old code does.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
2016-09-23 09:02:36 -04:00
..
crc16.c ext4fs write support 2012-08-09 23:48:02 +02:00
crc16.h ext4fs write support 2012-08-09 23:48:02 +02:00
dev.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
ext4_common.c ext4: Scan all directory blocks for space when inserting a new entry 2016-09-23 09:02:36 -04:00
ext4_common.h ext4: propagate error if creation of directory entry fails 2016-09-23 09:02:35 -04:00
ext4_journal.c ext4: fix endianess problems in ext4 write support 2016-09-23 09:02:04 -04:00
ext4_journal.h ext4: fix endianess problems in ext4 write support 2016-09-23 09:02:04 -04:00
ext4_write.c ext4: propagate error if creation of directory entry fails 2016-09-23 09:02:35 -04:00
ext4fs.c ext4: use kernel names for byte swaps 2016-09-23 09:02:02 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00