Home
last modified time | relevance | path

Searched hist:a321abd54fa025114df2002b33ea17adc6b998b7 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/fs/ext4/
H A Dext4_common.ca321abd54fa025114df2002b33ea17adc6b998b7 Tue Sep 06 02:36:44 UTC 2016 Stefan Brüns <stefan.bruens@rwth-aachen.de> 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>