Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/PitchBlackRecoveryProject/android_external_f2fs-tools
https://github.com/PitchBlackRecoveryProject/android_external_f2fs-tools
It seems the new created directory always includes inline dentries,
let sload.f2fs supporting it...
The dir_level in the filesystem maybe larger than zero,
supports it.
Signed-off-by: Kinglong Me...
9a4df3c466c380679ddb5b765d7ef377b7da6b48 authored almost 8 years ago by Kinglong Mee <[email protected]>An encrypted directory under an unencrypted directory, the filename isn't encrypted.
Signed-off...
7b03ccbb9b2d4e1025f178b7e833bde9817d0402 authored almost 8 years ago by Kinglong Mee <[email protected]>The following messages is better than before.
Before,
# fsck.f2fs -d 1
Error: Need argument...
If sload many larger files to disk, the SSA that doesn't cached will be missed.
Mar 17 12:04:39...
8e710d1d714ac9a0f87c09487a4e836072c25ccd authored almost 8 years ago by Kinglong Mee <[email protected]>
Showing directory tree reuses dbg_lv that if setting "-t",
fsck.f2fs does not show any others.
U...
It's migrated from e4crypt.
Adds an example to the f2fscrypt manpages.
v3, add /tools/f2fscrypt...
7f00dd441c48edf9b7d88d34e8b94d29d72fd350 authored almost 8 years ago by Kinglong Mee <[email protected]>
The crc_offset towards or beyond the end of block is wrong,
sanity check it.
Signed-off-by: Kin...
802b6499bdc5547003438cfa0d70902639f89338 authored almost 8 years ago by Kinglong Mee <[email protected]>
This patch fix a resize faill for sector size mismatch.
The initial fs comes from an image file,...
Mkfs.f2fs doesn't check the overwrite of exist filesystem.
Avoid formatting an exist filesystem ...
Add some missing options in manpages, also order those options.
v3, add the missing update of S...
2f52fcf698fe3799b83faf1c56afd475c96519b7 authored almost 8 years ago by Kinglong Mee <[email protected]>It needs to use up-to-date ckpt flag.
Signed-off-by: Jaegeuk Kim <[email protected]>
a0bd5b982220cd1c01fb741e128f9909c5445080 authored almost 8 years ago by Jaegeuk Kim <[email protected]>This fixes wrong messages for error out.
Signed-off-by: Jaegeuk Kim <[email protected]>
f081d54ba8e0cbcfb0ab8e0dd90934b9113f2d7e authored almost 8 years ago by Jaegeuk Kim <[email protected]>
This patch adds nat_bits in the last one ore two 4KB-sized blocks of first
checkpoint segment. S...
memset(raw_node, 0, F2FS_BLKSIZE) sets the next_blkaddr to zero,
so that, only one reset dnode i...
The using of c.overprovision when it equal zero as,
c.reserved_segments =
...
resize.f2fs rebuilds a new checkpoint at the new position. Its
checkpoint_ver should be increase...
This release includes:
- enhance fsck.f2fs mostly.
- retrieve lost files from dump.f2fs.
- su...
wanted_total_sectors is introduced instead total_sectors,
so that, the initialize is a fault, dr...
This patch removes stale dentries remained by hash conversion issue which
happened long time ago...
am: 3f26d468d9
Change-Id: I6e6d89e2dac616bdb29921838de7f6cd96c04306
5f31e7ad2f783072891c9f2a515821d00dd38cda authored almost 8 years ago by Alex Deymo <[email protected]>am: efe9697e68
Change-Id: Ib6113b1fc48b908c07dd8462af44abc38faef304
3f26d468d922059f97cfed62c830a04a096d6a0d authored almost 8 years ago by Alex Deymo <[email protected]>am: cd957bfe94
Change-Id: Ib9c1352c15acfd2ef4bc9c97ad3ebfb08af5d049
efe9697e6848035da4b0ce843686144b3b7268ff authored almost 8 years ago by Alex Deymo <[email protected]>am: 52a2cdcb1a
Change-Id: I6cc3c8b1d502d75d122545e0803e9a6e052d67ea
cd957bfe946e85d105a5490e4d0dead962ab5661 authored almost 8 years ago by Alex Deymo <[email protected]>
If the segment type and sum footer type are node, but its
sit type is corrupted as cold data, th...
[root@localhost f2fs-tools]# mkfs.f2fs -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /d...
ada65254f66e581e3f8d25a9552ca471dc40a33a authored almost 8 years ago by Kinglong Mee <[email protected]>This patch is just to clean up.
Cc: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk K...
This patch allows fsck run -p without argument. So we could use -p as
-p, -p 0, -p 1. '-p' and '...
It is reported that fsck.f2fs behaves abnormally when running on MIPS32
rel 2 big endian cpu, si...
Bug: 34220783
Test: make checkbuild
Change-Id: I16b5969da75cc58297c35c34a698a5a5aa80f683
52a2cdcb1a313428d9f1b7c72daa2ffcd9f7f805 authored almost 8 years ago by Alex Deymo <[email protected]>./configure --without-selinux :: unconditionally disable SELinux support
./configure --with-sel...
0d6ce1f5667f41946540c4b9c0de473bf796365d authored almost 8 years ago by Sergey Kvachonok <[email protected]>am: 46a72c5e17
Change-Id: Ib27fe08a05d75840b30d13b0057886c334720f56
7d5285d57f1034ff935665d4527d2bda2fb6a36d authored almost 8 years ago by Alex Deymo <[email protected]>am: 365f4cdb6b
Change-Id: Idb4f4a642f70b44b5ace926ed27a16497407fa3c
46a72c5e17b2edaf9c2c45ec205bea5c64ad4f81 authored almost 8 years ago by Alex Deymo <[email protected]>am: 4690bb2996
Change-Id: I84d765449d0b4c79a0ee5e3019c84d4a3294825e
365f4cdb6b296d067ce531ee8b35dbc1fac21a45 authored almost 8 years ago by Alex Deymo <[email protected]>am: b54dc047e6
Change-Id: Iaf9375511455071ab36107ebd5a9807785311c56
4690bb299600aab77e93486d927aa024a9d70129 authored almost 8 years ago by Alex Deymo <[email protected]>
Bug: 34220783
Change-Id: Id53ad62fb9d0e9c43e11126c8ce10fde2694c267
We should not check the consistency between i_name and its dentry for directory.
The i_name is u...
This patch remove unused parameters in these three functions:
get_new_sb, migrate_main and rebui...
If the offset passed in migrate_ssa is not zero, it means that there're
offset segments of old m...
We should avoid zero overprovision ratio or # of segments caused by too small
device.
Reported-...
0a48220641c27c534e987d43be66781729727797 authored about 8 years ago by Jaegeuk Kim <[email protected]>
Signed-off-by: Junling Zheng <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...
Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
This is to avoid wrong recovery during xfstests.
Signed-off-by: Jaegeuk Kim <[email protected]>
8399a29df92d6867d226df362edbf2e0efa527c1 authored about 8 years ago by Jaegeuk Kim <[email protected]>
Flush curseg sit entries, since type of sit entries may
be changed after move_curseg_info.
Sign...
b88767e606394fb6aec408abb98024dfb81ef946 authored about 8 years ago by Liu Xue <[email protected]>This patch fix an error in dump nat pack num
Signed-off-by: Yunlei He <[email protected]>
Sig...
This patch add a simple check orphan inodes in -p 1 mode
Signed-off-by: Yunlei He <heyunlei@hua...
4f1ded4ad219ac81f2182f20e2ac5eb90aa0c3f2 authored about 8 years ago by Yunlei He <[email protected]>This patch fixes typos and enhance description.
Suggested-by: Rob Maris <[email protected]>
Signe...
This patch initialize one variable for android build.
In addition, it avoids there-in build warn...
This patch adds an option to specify multiple devices for an f2fs instance.
Up to 7 devices in ...
de7e07e011004a0264e27d7134ee32cbcd9695ec authored about 8 years ago by Jaegeuk Kim <[email protected]>
Refactor build_nat_area_bitmap, move out lookup_nat_in_journal from the
dual loops. Instead of l...
it better to decide resize or not by sector num.
Signed-off-by: Yunlei He <[email protected]>...
5e056bef1798844e640e3ae118c06949c70dd8e6 authored about 8 years ago by Yunlei He <[email protected]>
This patch add a judgment after calloc avoid memory alloc
failure
Signed-off-by: Yunlei He <hey...
890e9b325d4b94ea49499dea1712eb29b8dca707 authored about 8 years ago by Yunlei He <[email protected]>This patch avoid to write a new cp if no journal info
Signed-off-by: Yunlei He <heyunlei@huawei...
9e341fa6b3cbfd13fbb6af7b0b81943f0ef87b41 authored about 8 years ago by Yunlei He <[email protected]>This will avoid wrong behavior after expanding volume.
Signed-off-by: Jaegeuk Kim <jaegeuk@kern...
7401b7ce2d0ab6dcf3c9a31c63dbdcc7366f1d46 authored about 8 years ago by Jaegeuk Kim <[email protected]>We don't guarantee cp_addr is fixed by cp_ver due to sload.
Signed-off-by: Jaegeuk Kim <jaegeuk...
2d7d4ffdd4f99298ff9960da53bcab0e247310fa authored about 8 years ago by Jaegeuk Kim <[email protected]>Now, sload.f2fs doesn't support inline_dir.
Signed-off-by: Jaegeuk Kim <[email protected]>
f3341c3976c6df77416935812fcc6e0c2e62caf4 authored about 8 years ago by Jaegeuk Kim <[email protected]>The # of free segments can be changed by defragmentation.
Signed-off-by: Jaegeuk Kim <jaegeuk@k...
8f346ef3a50c0fe18de3acb217a9067876c867c7 authored about 8 years ago by Jaegeuk Kim <[email protected]>This patch fixes wrong end_blkaddr condition for free block allocation.
Signed-off-by: Jaegeuk ...
bfa074377120f886b25b4fabf05978f80bb97e46 authored about 8 years ago by Jaegeuk Kim <[email protected]>The end_blkaddr should add main area segments.
Signed-off-by: Jaegeuk Kim <[email protected]>
b46703007858f51ac4eb6f0414e1a64aa0841939 authored about 8 years ago by Jaegeuk Kim <[email protected]>This returns error instead of assertion for resize.f2fs.
Signed-off-by: Jaegeuk Kim <jaegeuk@ke...
2f2ee92b3409440bf7cbd50159840efbbd873bb4 authored about 8 years ago by Jaegeuk Kim <[email protected]>
When we move whole main area into new expanded area, we do not change its
segment numbers from s...
Print more information.
Signed-off-by: Jaegeuk Kim <[email protected]>
00339208531d70ad0a11626f437f35e594606103 authored about 8 years ago by Jaegeuk Kim <[email protected]>
Add SSR-based allocation when free segment reach the limit of
reserved segments.
Signed-off-by:...
893acfc2e430e2a511de12ae57c3c32a62a7dfe3 authored about 8 years ago by Liu Xue <[email protected]>
The entries info in segment manager may be not correct, since
corrupted blocks may already clean...
The BLKZONED feature is mandatory for host-managed zoned block
devices. So check that it is set....
For a zoned blocks device, trim must reset all sequential zones
of the device.
Signed-off-by: D...
1e0f68d947e0c5aeee9488b9429112985a69dea8 authored about 8 years ago by Damien Le Moal <[email protected]>This avoids the below warnings.
libf2fs_zoned.c:39:8: warning: ignoring return value of 'fscanf...
0fe50b6f26fbe6f0aa5716b519dc091aa1e3d43e authored about 8 years ago by Jaegeuk Kim <[email protected]>
Make sure the drive has enough randomly writeable zones from
the beginning of the partition to h...
Trim must not be disabled with zoned mode.
For host-managed zoned block devices, the zoned mode ...
With the availability of the BLKREPORTZONE and BLKRESETZONE
ioctls, there is no need for using S...
SMR stands for "Shingled Magnetic Recording" which makes sense
only for hard disk drives (spinni...
Git ignore executables fsck.f2fs, f2fstat, fibmap.f2fs
and parse.f2fs.
Signed-off-by: Damien Le...
49bdd642dd143150c271b24ee10f817bff54f815 authored about 8 years ago by Damien Le Moal <[email protected]>
If fscrypt is enabled, we need to convert the encrypted file name before
printing it. So let's e...
The first segment is already checked, so there is no need to check it
again if we want to make s...
Some systems do not have libselinux. Allow to build sload.f2fs without
support for selinux.
Sig...
b0a2386089fd6efade6b89094325ed8a9f8c6fff authored about 8 years ago by Christian Hesse <[email protected]>This patch fixes wrong discarding size.
Signed-off-by: Jaegeuk Kim <[email protected]>
6e7c503a8048b700b4d252e41db2d4dd144ae3c8 authored about 8 years ago by Jaegeuk Kim <[email protected]>This patch adds to support restoring lost files into ./lost_found/.
For example,
# fsck.f2fs ...
390fe587b1b843270bbf7f1e35ac08c8a48d03a1 authored about 8 years ago by Jaegeuk Kim <[email protected]>This patch should fix the below bug.
Info: checkpoint state = 4 : compacted_summary sudden-pow...
68ef569e4493d46c88628d15f7c29ea5c4bb77b9 authored about 8 years ago by Jaegeuk Kim <[email protected]>This patch avoids to print garbage data.
Signed-off-by: Jaegeuk Kim <[email protected]>
65f3d40f785079f51a93c0d8aa872e493c608f73 authored about 8 years ago by Jaegeuk Kim <[email protected]>This patch is to clean up and avoid warnings when compiling aosp.
Signed-off-by: Jaegeuk Kim <j...
bdc1a0ac8bd99298f56c5506c244148db7b64876 authored about 8 years ago by Jaegeuk Kim <[email protected]>SCSI-related operations are not permitted to AOSP biuld.
Signed-off-by: Jaegeuk Kim <jaegeuk@ke...
c499346871b95583d36d164f0689a43f88245965 authored about 8 years ago by Jaegeuk Kim <[email protected]>This patch makes buffer allocation be done after condition check.
Signed-off-by: Jaegeuk Kim <j...
9a708f0fe4850232bcb839467d6ef7908e7e3edb authored over 8 years ago by Jaegeuk Kim <[email protected]>
Signed-off-by: Junling Zheng <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...
Signed-off-by: Junling Zheng <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...
Free cp_page_1 in validate_checkpoint to avoid memory leak.
Signed-off-by: Junling Zheng <zheng...
d256214da8e041940bd97c37e7629775676641f6 authored over 8 years ago by Junling Zheng <[email protected]>
On some systems '/proc/mounts' contains the entry '/dev/root'
as alias for the root device, whil...
This patch porting avoid unneeded loop in build_sit_entries to fsck
Signed-off-by: Yunlei He <h...
f1ee35104dbc6279e52c9cf389acaeb12ac0c126 authored over 8 years ago by Yunlei He <[email protected]>This patch has no functional change.
Signed-off-by: Jaegeuk Kim <[email protected]>
3ffc5a8f3ea0a70e247d1b1b222ad27f20716bdd authored over 8 years ago by Jaegeuk Kim <[email protected]>This patche tries to use dev_read_block and dev_write_block as much as possible.
Signed-off-by:...
79b1858e791c0d9ce6c4c693140e833023d74d42 authored over 8 years ago by Jaegeuk Kim <[email protected]>This patch is to get a parameter for fd in f2fs_trim_device.
Signed-off-by: Jaegeuk Kim <jaegeu...
932d596a86f35b1e52110570e1b0c6e7f031cb6f authored over 8 years ago by Jaegeuk Kim <[email protected]>
Signed-off-by: Yunlong Song <[email protected]>
Acked-by: Chao Yu <[email protected]>
Sig...
strdup is useless here, with no free op with its return value.
Signed-off-by: Yunlong Song <yun...
370f8c47b8a7ad67227274ba46dac811b7a3fb75 authored over 8 years ago by Yunlong Song <[email protected]>
Signed-off-by: Yunlong Song <[email protected]>
Acked-by: Chao Yu <[email protected]>
Sig...
This adds to show disk information.
Signed-off-by: Jaegeuk Kim <[email protected]>
c6834e9cc49d7565a6390f353ac24447b2059773 authored over 8 years ago by Jaegeuk Kim <[email protected]>This version adds Host-managed SMR detection code.
libf2fs_format_la
- changed its body
libf2...
d2446560e29e6c1bcf8ad746bf0d8746a9b3b2b6 authored over 8 years ago by Jaegeuk Kim <[email protected]>If we have i_blocks, we can recover i_size.
Signed-off-by: Jaegeuk Kim <[email protected]>
37dbd83399fcae5c83d977bea5e15ba573da83f8 authored over 8 years ago by Jaegeuk Kim <[email protected]>Call current_nat_addr() to calculate nat block address.
Signed-off-by: Xue Liu <liuxueliu.liu@h...
9884ad4e793c457acf6516a0b568a11ca9fdc7df authored over 8 years ago by Xue Liu <[email protected]>
Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>