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
For multi-device F2FS, we should check if the sum of total_segments from
all devices matches seg...
On sudden f2fs shutdown, write pointers of zoned block devices can go
further but f2fs meta data...
To prepare for write pointer consistency check by fsck, add
f2fs_report_zones() helper function ...
Fsck checks fsync data when UMOUNT flag is not set. When the f2fs was not
cleanly unmouted, UMOU...
When fsck updates one of the current segments, update_curseg_info() is
called specifying a singl...
When fsck needs to assign a new area to a curreng segment, it calls
find_next_free_block() funct...
To prepare for write pointer consistency fix by fsck, add
f2fs_reset_zone() helper function whic...
To prepare for write pointer consistency check by fsck, add
f2fs_report_zone() helper function w...
Commit d56232bc1640e2a3ffc412faff42cd8e77dbb8dd hardcoded -lblkid in
libf2fs_format_la_LDFLAGS w...
sg_write_buffer includes a kernel header scsi/scsi.h, which is
available to system modules only....
Android 10.0.0 release 14
Change-Id: Idce088171b1ef04dbd0ba48d7d0e105467260876
cedfaee12b0cdb9ac44a873ba4fd55090a667bd5 authored about 5 years ago by Marko Man <[email protected]>am: d8047099f8 -s ours
am skip reason: subject contains skip directive
Change-Id: Ia3a461b6a4eec...
3dad65c8c20e695d7fd1b84bc435a4bd818550e6 authored about 5 years ago by Xin Li <[email protected]>am: e5c0640359
Change-Id: I1a5b2c8c3281a5c334b380a3f17c934151fcbcb9
d8047099f80e6b7305a5d4fff4bbcf86bfadd5b8 authored about 5 years ago by Xin Li <[email protected]>
Bug: 142003500
Change-Id: I5999c928bf8c49f2222895830d00aa12c54ac919
fibmap.c:28:10: fatal error: 'sys/sysmacros.h' file not found
^~~~~~~~~~~~~~~~~
1 error...
am: d07d32ca94
Change-Id: Ia1be61d2eb6cdf83933a91265d1c158163f5f398
5663d7187b72dd15e0183f020c4ed389381f42ba authored about 5 years ago by Xin Li <[email protected]>am: b56ce5a0e0
Change-Id: I4bef7e899018c70263dd690428314832ad8bb465
d07d32ca94eb11b5323a36ba35079017b2891f46 authored about 5 years ago by Xin Li <[email protected]>am: c8ed1f3dd8
Change-Id: Ie7272071be2742b3a2ba4f8ba94a0c0756879eeb
b56ce5a0e02bd4439b69ad4c9baf0f3d14408a6e authored about 5 years ago by Xin Li <[email protected]>
Bug: 141248619
Change-Id: Id5b471bf6f247e772ca3bb63191e0bb667e9935f
Add a copy command to f2fs_io, to allow testing direct I/O writes where
the source page is from ...
Add and use helper functions for:
- Printing an error message (optionally with errno) and exiti...
7a9422f092ca727abff9c37dc133897405983038 authored about 5 years ago by Eric Biggers <[email protected]>am: f2915cd4c0
Change-Id: I794c1b9cf1105fae3f64e61bfb09df790b06e8f7
cc6e8d6dc32ac89a7f45aef68ab1847bb05c2245 authored about 5 years ago by Haibo Huang <[email protected]>am: 824331f122
Change-Id: I621ec1eab7f83474a227809e1b3428f8382f472a
f2915cd4c0a0ed12b624fd5b3c6cfc0e95f2954d authored about 5 years ago by Haibo Huang <[email protected]>am: be85bacae1
Change-Id: I93d9fd5e7d1864864bf7f25934334630a37644c3
824331f12295201267bd61662e9bbfd2f88a6c64 authored about 5 years ago by Haibo Huang <[email protected]>am: 1923a32628
Change-Id: Ief9d39c01a0be509c27f218f2e335eb97be72f81
be85bacae1801e0a2b0c40fd6f3aca24059119ba authored about 5 years ago by Haibo Huang <[email protected]>f2fs-tools: release 1.13.0
This release includes:
- enable VERITY by default on Android
- int...
This release includes:
- enable VERITY by default on Android
- introduce some preen mode in fs...
am: 0f500cdd8f -s ours
am skip reason: change_id I1a1b6274863b4c627219f8e0482e7af3e0b8048e with S...
am: c51864a5c6 -s ours
am skip reason: change_id I1a1b6274863b4c627219f8e0482e7af3e0b8048e with S...
am: 73f0f13742 -s ours
am skip reason: change_id I1a1b6274863b4c627219f8e0482e7af3e0b8048e with S...
Bug: 135460123
Change-Id: I4c8a265d073bb4d3c939a762251f543c355f3661
Merged-In: I1a1b6274863b4c62...
Android 10.0.0 release 2
8500c742716f4d894e2a612bf572a9a431e60816 authored over 5 years ago by Marko Man <[email protected]>
For defrag, resize, sload tools, let's advise to mount unclean
image to replay journal first in ...
We actually don't need to issue trim on entire disk by checking first
blocks having zeros.
Sign...
dd9c372646ed849f143b3bd9f40cf13c784675fe authored over 5 years ago by Jaegeuk Kim <[email protected]>
Support 'defrag_file' sub command to trigger file based defragment via
ioctl in f2fs.
Signed-of...
5eb2d8455992a302aa0b12caf68d8be807712c45 authored over 5 years ago by Chao Yu <[email protected]>to show pretty log format.
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk K...
In error path of build_sit_info(), start variable is unsigned int type,
it should never be less ...
This adds support for f2fs casefolding. Similarly to ext4 casefolding,
this is controlled per-fo...
inode.i_blocks includes inode, xnode and data block count, so, only
fix in below condition:
- i_...
Introduce f2fs_ra_meta_pages() to readahead meta pages like we did
in kernel.
Signed-off-by: Ch...
9e64efe2765a0a847cf949c83add17ac1e625f51 authored over 5 years ago by Chao Yu <[email protected]>Otherwise, we just show fixed zero x_nid value.
Signed-off-by: Chao Yu <[email protected]>
Sig...
We should always set c.bug_on whenever found a bug, then fix them
if c.fix_on is on, otherwise, ...
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Propagate correct error number from write_dquots() to
quota_write_inode().
Signed-off-by: Chao ...
29e035d5c4cce2a95484224a26a41c9f83c20f3d authored over 5 years ago by Chao Yu <[email protected]>It tries to let fsck be noticed wrong inline size, and do the fix.
Signed-off-by: Chao Yu <yuch...
db84e73777c2656095d37c768a89923b2bc8e3d6 authored over 5 years ago by Chao Yu <[email protected]>
if we new node block in fsck flow, we need to update
the valid_node_cnt at the same time.
Signe...
66087b1521047a55869c9cece55592edd594cd92 authored over 5 years ago by Lihong Kou <[email protected]>
During block allocation in large free section, we need to change
all sub segments' type in it, o...
Just cleanup, no logic change, besides, it can be reused by latter
patch.
Signed-off-by: Chao Y...
a624d790f202ba8a208ef221d638d76df4a49895 authored over 5 years ago by Chao Yu <[email protected]>Just clean up, no logic change.
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaeg...
Previously, we don't allow block allocation on unclean umounted image,
result in failing to repa...
Like we did in kernel, allocating memory in batch will be more
efficient.
Signed-off-by: Chao Y...
bf99ab9e273b1f30f44a7dc3a0e079fd20d4d0c0 authored over 5 years ago by Chao Yu <[email protected]>We missed to free sit_i->sentries in f2fs_do_umount(), fix it.
Signed-off-by: Chao Yu <yuchao0@...
2183c65b7687a8de3328beaa9d5eb6dae70994dd authored over 5 years ago by Chao Yu <[email protected]>
Change logic as below:
- fix to account block/node/inode stats correctly in reserve_new_block()
...
f2fs_fs.h locats in local directory rather than system one, fix it.
Signed-off-by: Chao Yu <yuc...
71a93cff40849d4918a17cdb60361697ddb0aad4 authored over 5 years ago by Chao Yu <[email protected]>
This patch enable to set file's temperature while loading files
to image.
Signed-off-by: Chao Y...
d2621d31c088df6d70bb31069df67c5d031afc33 authored over 5 years ago by Chao Yu <[email protected]>
When the -m option is specified to format a Zoned device,
do not fall back to the non-zoned mode...
This patch fix bug that variable dentries going out of scope leaks
the storage it points to.
Si...
70ae867f965737e6c419108c8b15657ae1ebcc7b authored over 5 years ago by Xiaojun Wang <[email protected]>
In generic/38[3456], we use quotactl(2) to check if prjquota is
enabled on the given device (src...
This original patch was from Weichao Guo.
We may encounter both checkpoints invalid in such a c...
81bad9d11ea5f728cfc815a3060583171c2b4d7d authored over 5 years ago by Chao Yu <[email protected]>The error handling of build_directory is a mess, fix it.
Signed-off-by: Chao Yu <yuchao0@huawei...
8b624c337a03117596d085929eb018ec0ffeb77b authored over 5 years ago by Chao Yu <[email protected]>
We forgot to release memory allocated in dentry.link, fix to release
it after last use of it.
S...
3e9107dc0354091bd6f96ce06b5d0333fe2f5dc8 authored over 5 years ago by Chao Yu <[email protected]>Add more sanity check logic for superblock like we did in kernel side.
This fixes bug reported ...
b4dbf57747da9ef6005c235b33e9c39b7b0f5b2c authored over 5 years ago by Chao Yu <[email protected]>This simply supports keep_size.
Signed-off-by: Jaegeuk Kim <[email protected]>
7c8df9e026483da8e783e1d5bd1988ab9109ba10 authored over 5 years ago by Jaegeuk Kim <[email protected]>
Calculate inode checksum and writeback when processing
sload or resize.
Signed-off-by: Xue Liu ...
ee0025a13f6f4cf878ccd9ebd0591d2f0b78d89a authored over 5 years ago by Xue Liu <[email protected]>
If we use later kernel having larger extra_isize, old fsck will delete
entire old files.
Review...
36aa17a3bc52e7e75ebb2234bfca7dbeaa26b8e0 authored over 5 years ago by Jaegeuk Kim <[email protected]>This patch introduces the elapsed time of fsck.
Reviewed-by: Chao Yu <[email protected]>
Signe...
Just cleanup, no logic change.
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaege...
Enables to detect corrupted sit journal
a) total count of entries.
b) segment no. in entry.
Sig...
1d1a54e54862eb9f91a1908d92b4589649274b0c authored over 5 years ago by Chao Yu <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Build segment manager and node manager always to catch and auto-fix
invalid NAT entries found in...
A partition device does not have the "zoned" nor "chunk_sectors" sysfs
attribute files. Only the...
Now, kernel can catch incorrect total valid block count which is exceed
max user block count of ...
Following extensions are removed:
- divx: deprecated video format and it's usually wrapped with...
Host-aware zoned block devices can accept random writes anywhere and so
do not require to be han...
There is no need to require conventional zones for a zoned block device
that is not the first de...
Return an error if an unknown zoned model is reported for a device or
if parsing of the device z...
This patch keeps line with f2fs kernel module for checkpoint update:
1. writeback all blocks ins...
Change-Id: If36d5ec3cba8776655730dc2ec4f8cdce745c4ec
58e2363e7ed6daaf391097f491cb47289c4ba694 authored over 5 years ago by android-build-team Robot <[email protected]>Change-Id: I2716e59b20d925ad440d773c1ff3ab4629a412aa
69412e592d8c5ffd5c0c9327013c7713d7192284 authored over 5 years ago by android-build-team Robot <[email protected]>am: 3d741dc596
Change-Id: Ida4e2f70d9998a3790af14cc594c20cb42cf5d66
723f80330a7e4af19d503c3548853a9c4a015dc9 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: 3f512a8f44
Change-Id: I448c802e3300ac6b962e9ac41bf424e072326611
1c2adfe6b6217c87b5c72dbb633e33d18d5b4ad9 authored over 5 years ago by Jaegeuk Kim <[email protected]>3d741dc59664c0d03b7a0bad7471c328ec5d4560 authored over 5 years ago by Android Build Merger (Role) <[email protected]>
am: bba2235126
Change-Id: I736ed60829be0557225891d984cc12a9ecb974d6
a1be40d2532b406103becdae43e32fb32c7f4c21 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: d7a235fc0c
Change-Id: I59feb24e8f64999d8ce3e92d4de2e908236a742f
3f512a8f4473e08fea6a0e6daea934322ade4096 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: 1cbe5b87d3
Change-Id: Ie35daae9a526c5b31c4ba01fc2d7710cae138318
bba22351267d00dafc442d8e73d9e04074cf75e4 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: 1cbe5b87d3
Change-Id: I66d11881d11ec76e3d0e679e2c171bbce06673c0
d7a235fc0ca8f9f2908aaa3693e584a5bba5dcae authored over 5 years ago by Jaegeuk Kim <[email protected]>
We actually don't need to issue trim on entire disk by checking first
blocks having zeros.
Bug:...
1cbe5b87d3e97459ead43de2d3a66cf13dcb9a87 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: 5b3bd3d879
Change-Id: I30de18e4ccb1635c6f03f8ae6475df587c6f1755
841fbf84b436378b571097cb63c7eb32cc5d3825 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: 50cdb734a7
Change-Id: I21fb8f5838d998446ee05241e10525b3190899c2
5b3bd3d87971ab1b819d999767d6920ba3d9087f authored over 5 years ago by Jaegeuk Kim <[email protected]>am: abd220c53b
Change-Id: I1a1b6274863b4c627219f8e0482e7af3e0b8048e
50cdb734a726572f02592ab436fc35d69e0ff109 authored over 5 years ago by Jaegeuk Kim <[email protected]>am: 19766b680b
Change-Id: Ibef9e08fbc2d32ba2db8bbfa574bf5e871fc4a2b
abd220c53bbe89f4a0b6f7a8fc22a560e065d2ef authored over 5 years ago by Jaegeuk Kim <[email protected]>
* aosp/upstream-master:
fsck.f2fs: update curseg .next_blkoff/.alloc_type preferential
fsck....
If .next_blkoff is inconsistent, we can update curseg .next_blkoff
to first unused block address...
Let check_curseg_offset() just check one curseg, and introduce
check_curseg_offsets() to check a...
For large_nat_bitmap feature, there is a design flaw:
Previous:
struct f2fs_checkpoint layout:...
a423b5f91e3c9de1c0f176fbd00fb058a4651bc2 authored over 5 years ago by Chao Yu <[email protected]>
Previously, f2fs_checkpoint.checksum_offset points fixed position of
f2fs_checkpoint structure:
...
As zhaowuyun reported:
we met one problem of f2fs, and found one issue of make_f2fs, so I write...
37e7403810a6f60509e44b99364361a9fa65d0be authored over 5 years ago by Chao Yu <[email protected]>
This patch fixes to initialize NAT/SIT/CP.payload region in sparse
file mode for sload.
Reporte...
bdc7da10a91d81ebc39f2bf464b67c2c669fbf0a authored over 5 years ago by Chao Yu <[email protected]>
Let's fix the wrong start offset of cp_payload blocks in
fix_checkpoint().
Signed-off-by: Chao ...
90648a47e26fb1b43b3ba88eebf8547289674781 authored over 5 years ago by Chao Yu <[email protected]>As Jaegeuk reminded:
Once user updates f2fs-tools which support new fields in inode layout,
but...