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

fsck.f2fs: check total_segments from devices in raw_super

For multi-device F2FS, we should check if the sum of total_segments from
all devices matches seg...

05fee40110881bab81de649bdb8462dfbdd19220 authored about 5 years ago by Qiuyang Sun <[email protected]>
fsck: Check write pointer consistency of open zones

On sudden f2fs shutdown, write pointers of zoned block devices can go
further but f2fs meta data...

42326f61e944d9537828b5bbd3055ec661703d56 authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
libf2fs_zoned: Introduce f2fs_report_zones() helper function

To prepare for write pointer consistency check by fsck, add
f2fs_report_zones() helper function ...

512b8426acf1f146cf2f07cf680f1155d886ef94 authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
fsck: Check fsync data always for zoned block devices

Fsck checks fsync data when UMOUNT flag is not set. When the f2fs was not
cleanly unmouted, UMOU...

75bdccdf0b7bd950f6c7fad8a0e6fea16376099e authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
fsck: Introduce move_one_curseg_info() function

When fsck updates one of the current segments, update_curseg_info() is
called specifying a singl...

7f6b9400147e69e7c523ab7a5efbf444aecbf8f5 authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
fsck: Find free zones instead of blocks to assign to current segments

When fsck needs to assign a new area to a curreng segment, it calls
find_next_free_block() funct...

c0ce8e646c5c5454b74863496e0d0e6a66d7438f authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
libf2fs_zoned: Introduce f2fs_reset_zone() helper function

To prepare for write pointer consistency fix by fsck, add
f2fs_reset_zone() helper function whic...

1d145cb86be519445a8b0968b50b47fe52dfed9d authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
libf2fs_zoned: Introduce f2fs_report_zone() helper function

To prepare for write pointer consistency check by fsck, add
f2fs_report_zone() helper function w...

6d7c7b785febcf9162dbfc607c50fb778983deb6 authored about 5 years ago by Shin'ichiro Kawasaki <[email protected]>
mkfs/Makefile.am: fix build without blkid

Commit d56232bc1640e2a3ffc412faff42cd8e77dbb8dd hardcoded -lblkid in
libf2fs_format_la_LDFLAGS w...

51e7d6dee33b1117875cc6628216af7b4aeba6ab authored about 5 years ago by Fabrice Fontaine <[email protected]>
Move sg_write_buffer to system_ext

sg_write_buffer includes a kernel header scsi/scsi.h, which is
available to system modules only....

d646fc65fff013e81b659fd27bbc895dad904ba7 authored about 5 years ago by Justin Yun <[email protected]>
Merge tag 'android-10.0.0_r14' of https://android.googlesource.com/platform/external/f2fs-tools into HEAD

Android 10.0.0 release 14

Change-Id: Idce088171b1ef04dbd0ba48d7d0e105467260876

cedfaee12b0cdb9ac44a873ba4fd55090a667bd5 authored about 5 years ago by Marko Man <[email protected]>
[automerger skipped] DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: e5c0640359

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]>
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master

am: e5c0640359

Change-Id: I1a5b2c8c3281a5c334b380a3f17c934151fcbcb9

d8047099f80e6b7305a5d4fff4bbcf86bfadd5b8 authored about 5 years ago by Xin Li <[email protected]>
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master

Bug: 142003500
Change-Id: I5999c928bf8c49f2222895830d00aa12c54ac919

e5c0640359699ca9b3f6329eea3174ada81f69ba authored about 5 years ago by Xin Li <[email protected]>
tools/fibmap: fix build error

fibmap.c:28:10: fatal error: 'sys/sysmacros.h' file not found
^~~~~~~~~~~~~~~~~
1 error...

e0e1c2a7909ab4dd619c6610fdff1382d2fe3136 authored about 5 years ago by Jaegeuk Kim <[email protected]>
Skip QD1A.190821.011 in stage-aosp-master am: c8ed1f3dd8 am: b56ce5a0e0

am: d07d32ca94

Change-Id: Ia1be61d2eb6cdf83933a91265d1c158163f5f398

5663d7187b72dd15e0183f020c4ed389381f42ba authored about 5 years ago by Xin Li <[email protected]>
Skip QD1A.190821.011 in stage-aosp-master am: c8ed1f3dd8

am: b56ce5a0e0

Change-Id: I4bef7e899018c70263dd690428314832ad8bb465

d07d32ca94eb11b5323a36ba35079017b2891f46 authored about 5 years ago by Xin Li <[email protected]>
Skip QD1A.190821.011 in stage-aosp-master

am: c8ed1f3dd8

Change-Id: Ie7272071be2742b3a2ba4f8ba94a0c0756879eeb

b56ce5a0e02bd4439b69ad4c9baf0f3d14408a6e authored about 5 years ago by Xin Li <[email protected]>
Skip QD1A.190821.011 in stage-aosp-master

Bug: 141248619
Change-Id: Id5b471bf6f247e772ca3bb63191e0bb667e9935f

c8ed1f3dd8653613247a1ced40f920c7f9ad1018 authored about 5 years ago by Xin Li <[email protected]>
f2fs_io: add copy command

Add a copy command to f2fs_io, to allow testing direct I/O writes where
the source page is from ...

d5bc55f7c742b69a9c02f2dbb80ba8df7009de76 authored about 5 years ago by Eric Biggers <[email protected]>
f2fs_io: add helper functions for handling errors

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]>
Upgrade f2fs-tools to 1.13.0 am: 1923a32628 am: be85bacae1 am: 824331f122

am: f2915cd4c0

Change-Id: I794c1b9cf1105fae3f64e61bfb09df790b06e8f7

cc6e8d6dc32ac89a7f45aef68ab1847bb05c2245 authored about 5 years ago by Haibo Huang <[email protected]>
Upgrade f2fs-tools to 1.13.0 am: 1923a32628 am: be85bacae1

am: 824331f122

Change-Id: I621ec1eab7f83474a227809e1b3428f8382f472a

f2915cd4c0a0ed12b624fd5b3c6cfc0e95f2954d authored about 5 years ago by Haibo Huang <[email protected]>
Upgrade f2fs-tools to 1.13.0 am: 1923a32628

am: be85bacae1

Change-Id: I93d9fd5e7d1864864bf7f25934334630a37644c3

824331f12295201267bd61662e9bbfd2f88a6c64 authored about 5 years ago by Haibo Huang <[email protected]>
Upgrade f2fs-tools to 1.13.0

am: 1923a32628

Change-Id: Ief9d39c01a0be509c27f218f2e335eb97be72f81

be85bacae1801e0a2b0c40fd6f3aca24059119ba authored about 5 years ago by Haibo Huang <[email protected]>
Upgrade f2fs-tools to 1.13.0

f2fs-tools: release 1.13.0

This release includes:
- enable VERITY by default on Android
- int...

1923a326284434f44394970a8a94a3da65573623 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
- introduce some preen mode in fs...

696bf1ea4000c2ff9161a4929d6bd5b27a698933 authored about 5 years ago by Jaegeuk Kim <[email protected]>
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 73f0f13742 -s ours am: c51864a5c6 -s ours

am: 0f500cdd8f -s ours
am skip reason: change_id I1a1b6274863b4c627219f8e0482e7af3e0b8048e with S...

8cb5ecabc6577f97314cd39fc33568054f69318e authored over 5 years ago by Xin Li <[email protected]>
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 73f0f13742 -s ours

am: c51864a5c6 -s ours
am skip reason: change_id I1a1b6274863b4c627219f8e0482e7af3e0b8048e with S...

0f500cdd8fde2cc9ff65e99069927f9e653ee4cd authored over 5 years ago by Xin Li <[email protected]>
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master

am: 73f0f13742 -s ours
am skip reason: change_id I1a1b6274863b4c627219f8e0482e7af3e0b8048e with S...

c51864a5c6e3b17a1d7dc351f4537afe6936ffff authored over 5 years ago by Xin Li <[email protected]>
Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master

Bug: 135460123
Change-Id: I4c8a265d073bb4d3c939a762251f543c355f3661
Merged-In: I1a1b6274863b4c62...

73f0f13742c996445be1105999ee0e4b84500773 authored over 5 years ago by Xin Li <[email protected]>
Merge tag 'android-10.0.0_r2' into android-10

Android 10.0.0 release 2

8500c742716f4d894e2a612bf572a9a431e60816 authored over 5 years ago by Marko Man <[email protected]>
f2fs-tools: advise to mount unclean image to replay journal

For defrag, resize, sload tools, let's advise to mount unclean
image to replay journal first in ...

33ac4ce48dcea5726b0f03bf5c921decfbf6fe18 authored over 5 years ago by Chao Yu <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android

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]>
f2fs_io: support defrag_file

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]>
f2fs-tools: add missing newline symbol in log

to show pretty log format.

Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk K...

aa374eff7e8baa174ec2882743b05c73d0760811 authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: fix potential deadloop

In error path of build_sit_info(), start variable is unsigned int type,
it should never be less ...

b7e0a624711e79c76ffc7eb24d4b6aad4a557071 authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: Add support for Casefolding

This adds support for f2fs casefolding. Similarly to ext4 casefolding,
this is controlled per-fo...

ce64ea0815bfe953a1c94cc68e1b9e2bef547fc3 authored over 5 years ago by Daniel Rosenberg <[email protected]>
fsck.f2fs: fix symlink correctly

inode.i_blocks includes inode, xnode and data block count, so, only
fix in below condition:
- i_...

121f29b7b9f2bb71ba73ef10819ad6de8ba70eab authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: introduce f2fs_ra_meta_pages()

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]>
fsck.f2fs: fix to show removed x_nid correctly

Otherwise, we just show fixed zero x_nid value.

Signed-off-by: Chao Yu <[email protected]>
Sig...

3ea1f0567db68794fe38e02e43d0da6a1b53d037 authored over 5 years ago by Chao Yu <[email protected]>
fsck.f2fs: fix to check c.fix_on before repair

We should always set c.bug_on whenever found a bug, then fix them
if c.fix_on is on, otherwise, ...

b3c986cf6750a06de2c331faa106b329309403f8 authored over 5 years ago by Chao Yu <[email protected]>
f2fs_io: add get/setflags

Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>

ab72bb1a42bf3db5800707263aab23a64fd0c77a authored over 5 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: fix to propagate error of write_dquots()

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]>
fsck.f2fs: fix to recover out-of-border inline size

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]>
fsck.f2fs: fix the bug in reserve_new_block

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]>
fsck.f2fs: fix to set large section type during allocation

During block allocation in large free section, we need to change
all sub segments' type in it, o...

207e2d7a03d9f158d881d32bdc9fc103209663cd authored over 5 years ago by Chao Yu <[email protected]>
dump.f2fs: introduce start_bidx_of_node() for cleanup

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]>
fsck.f2fs: introduce current_sit_addr() for cleanup

Just clean up, no logic change.

Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaeg...

cd7c5020cecd2ce4baae63155ec2481564236b1c authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: fix to skip block allocation for fsynced data

Previously, we don't allow block allocation on unclean umounted image,
result in failing to repa...

de7bcc843a0b86cd59924c44e146ce773cd879d0 authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: allocate memory in batch in build_sit_info()

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]>
f2fs-tools: fix to avoid memory leak of sit_i->sentries

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]>
f2fs-tools: fix stat update in sload/fsck

Change logic as below:
- fix to account block/node/inode stats correctly in reserve_new_block()
...

156ac96e19c9e070143995a529a8cc5229478fbb authored over 5 years ago by Chao Yu <[email protected]>
fsck.f2fs: include f2fs_fs.h from local directory

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]>
sload.f2fs: fix to set temperature during sload

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]>
libf2fs: Throw an error when zone dev info not found

When the -m option is specified to format a Zoned device,
do not fall back to the non-zoned mode...

fe154d525044b9daa6ccc9e8fbd3cdcf9000adc3 authored over 5 years ago by Surbhi Palande <[email protected]>
sload.f2fs: fix memory leak in build_directory

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]>
dump.f2fs: allow to dump data on mounted device

In generic/38[3456], we use quotactl(2) to check if prjquota is
enabled on the given device (src...

523e36856f208a9f673fc3d849f85741b4c50d48 authored over 5 years ago by Chao Yu <[email protected]>
fsck.f2fs: write checkpoint with OPU mode

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]>
sload.f2fs: fix error path of build_directory

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]>
sload.f2fs: fix memory leak of dentry.link

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]>
fsck.f2fs: add more sanity check for superblock

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]>
f2fs_io: add fallocate

This simply supports keep_size.

Signed-off-by: Jaegeuk Kim <[email protected]>

7c8df9e026483da8e783e1d5bd1988ab9109ba10 authored over 5 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: calculate inode checksum and writeback

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]>
fsck.f2fs: check only max extra_isize

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]>
fsck.f2fs: show elapsed time of full scan

This patch introduces the elapsed time of fsck.

Reviewed-by: Chao Yu <[email protected]>
Signe...

415ac9c0a2661ca6a5e1048ddab9b28c7a44a815 authored over 5 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: introduce get_checkpoint_version() for cleanup

Just cleanup, no logic change.

Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaege...

b0ca7ec4f6b7ef6597f1900dbdc9c6bf6bf15a4b authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: detect corrupted sit journal

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]>
f2fs_io: fix wrong buffered/dio option

Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>

e8728ca25c922b7de9d85b466dda8b61bf5f11fe authored over 5 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: Fix up nat journal corruption with -a (auto-fix) option

Build segment manager and node manager always to catch and auto-fix
invalid NAT entries found in...

0912289c179f159d1a4076dfdb42b08c4dc7742f authored over 5 years ago by Sahitya Tummala <[email protected]>
f2fs-tools: Fix device zoned model detection

A partition device does not have the "zoned" nor "chunk_sectors" sysfs
attribute files. Only the...

19ca76f101594844afaecc65a1d2c69095433712 authored over 5 years ago by Shin'ichiro Kawasaki <[email protected]>
f2fs-tools: fix to check total valid block count before block allocation

Now, kernel can catch incorrect total valid block count which is exceed
max user block count of ...

7d4480baa9ec8e695ce0e223fbc2996387bf7f6c authored over 5 years ago by Chao Yu <[email protected]>
mkfs.f2fs: make the default extensions list much more sensical

Following extensions are removed:
- divx: deprecated video format and it's usually wrapped with...

668e8154404b9577d95c641e8ff45ad19a6fb5b8 authored over 5 years ago by Park Ju Hyung <[email protected]>
f2fs-tools: Allow using host-aware devices as regular devices

Host-aware zoned block devices can accept random writes anywhere and so
do not require to be han...

23b87621136d5e6f015e2beab72dbb60a8208594 authored over 5 years ago by Damien Le Moal <[email protected]>
f2fs-tools: Fix multi-device format with zoned devices

There is no need to require conventional zones for a zoned block device
that is not the first de...

35f8b3cd370c5780b77e2457704b4624eb342410 authored over 5 years ago by Damien Le Moal <[email protected]>
f2fs-tools: Improve zoned model check

Return an error if an unknown zoned model is reported for a device or
if parsing of the device z...

658a0c8f200ba3ff1a6d3ac515e5d9bd56c6446f authored over 5 years ago by Damien Le Moal <[email protected]>
f2fs-tools: update checkpoint data atomically

This patch keeps line with f2fs kernel module for checkpoint update:
1. writeback all blocks ins...

d1094d9cffde308ef97b15bb9e7e0b17dd5adb99 authored over 5 years ago by Chao Yu <[email protected]>
Snap for 5800161 from d7a235fc0ca8f9f2908aaa3693e584a5bba5dcae to qt-qpr1-release

Change-Id: If36d5ec3cba8776655730dc2ec4f8cdce745c4ec

58e2363e7ed6daaf391097f491cb47289c4ba694 authored over 5 years ago by android-build-team Robot <[email protected]>
Snap for 5800080 from 1cbe5b87d3e97459ead43de2d3a66cf13dcb9a87 to qt-c2f2-release

Change-Id: I2716e59b20d925ad440d773c1ff3ab4629a412aa

69412e592d8c5ffd5c0c9327013c7713d7192284 authored over 5 years ago by android-build-team Robot <[email protected]>
Merge "mkfs.f2fs: check zeros in first 16MB for Android am: 1cbe5b87d3 am: bba2235126" into qt-qpr1-dev-plus-aosp

am: 3d741dc596

Change-Id: Ida4e2f70d9998a3790af14cc594c20cb42cf5d66

723f80330a7e4af19d503c3548853a9c4a015dc9 authored over 5 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android am: 1cbe5b87d3 am: d7a235fc0c

am: 3f512a8f44

Change-Id: I448c802e3300ac6b962e9ac41bf424e072326611

1c2adfe6b6217c87b5c72dbb633e33d18d5b4ad9 authored over 5 years ago by Jaegeuk Kim <[email protected]>
Merge "mkfs.f2fs: check zeros in first 16MB for Android am: 1cbe5b87d3 am: bba2235126" into qt-qpr1-dev-plus-aosp

3d741dc59664c0d03b7a0bad7471c328ec5d4560 authored over 5 years ago by Android Build Merger (Role) <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android am: 1cbe5b87d3

am: bba2235126

Change-Id: I736ed60829be0557225891d984cc12a9ecb974d6

a1be40d2532b406103becdae43e32fb32c7f4c21 authored over 5 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android am: 1cbe5b87d3

am: d7a235fc0c

Change-Id: I59feb24e8f64999d8ce3e92d4de2e908236a742f

3f512a8f4473e08fea6a0e6daea934322ade4096 authored over 5 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android

am: 1cbe5b87d3

Change-Id: Ie35daae9a526c5b31c4ba01fc2d7710cae138318

bba22351267d00dafc442d8e73d9e04074cf75e4 authored over 5 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android

am: 1cbe5b87d3

Change-Id: I66d11881d11ec76e3d0e679e2c171bbce06673c0

d7a235fc0ca8f9f2908aaa3693e584a5bba5dcae authored over 5 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: check zeros in first 16MB for Android

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]>
Merge remote-tracking branch 'aosp/upstream-master' into update am: 19766b680b am: abd220c53b am: 50cdb734a7

am: 5b3bd3d879

Change-Id: I30de18e4ccb1635c6f03f8ae6475df587c6f1755

841fbf84b436378b571097cb63c7eb32cc5d3825 authored over 5 years ago by Jaegeuk Kim <[email protected]>
Merge remote-tracking branch 'aosp/upstream-master' into update am: 19766b680b am: abd220c53b

am: 50cdb734a7

Change-Id: I21fb8f5838d998446ee05241e10525b3190899c2

5b3bd3d87971ab1b819d999767d6920ba3d9087f authored over 5 years ago by Jaegeuk Kim <[email protected]>
Merge remote-tracking branch 'aosp/upstream-master' into update am: 19766b680b

am: abd220c53b

Change-Id: I1a1b6274863b4c627219f8e0482e7af3e0b8048e

50cdb734a726572f02592ab436fc35d69e0ff109 authored over 5 years ago by Jaegeuk Kim <[email protected]>
Merge remote-tracking branch 'aosp/upstream-master' into update

am: 19766b680b

Change-Id: Ibef9e08fbc2d32ba2db8bbfa574bf5e871fc4a2b

abd220c53bbe89f4a0b6f7a8fc22a560e065d2ef authored over 5 years ago by Jaegeuk Kim <[email protected]>
Merge remote-tracking branch 'aosp/upstream-master' into update

* aosp/upstream-master:
fsck.f2fs: update curseg .next_blkoff/.alloc_type preferential
fsck....

19766b680b2ebe63cd8b85915458923c883aa287 authored over 5 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: update curseg .next_blkoff/.alloc_type preferential

If .next_blkoff is inconsistent, we can update curseg .next_blkoff
to first unused block address...

54244dcafddcf87355b5515b60ea084ddb47e2d0 authored over 5 years ago by Chao Yu <[email protected]>
fsck.f2fs: introduce check_curseg_offsets()

Let check_curseg_offset() just check one curseg, and introduce
check_curseg_offsets() to check a...

9e0a58749de8b62932388cfb645ee6248cd1b413 authored over 5 years ago by Chao Yu <[email protected]>
f2fs-tools: relocate chksum_offset for large_nat_bitmap feature

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]>
f2fs-tools: allow unfixed f2fs_checkpoint.checksum_offset

Previously, f2fs_checkpoint.checksum_offset points fixed position of
f2fs_checkpoint structure:
...

24dec562aec0e4e4e8769c3a8126d89d970677cb authored over 5 years ago by Chao Yu <[email protected]>
mkfs.f2fs: write fill chunk in sparse file for zeroed block

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]>
sload.f2fs: introduce f2fs_sparse_initialize_meta()

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]>
fsck.f2fs: fix to repair cp_loads blocks at correct position

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]>
f2fs-tools: get rid of unneeded fields in on-disk inode

As Jaegeuk reminded:

Once user updates f2fs-tools which support new fields in inode layout,
but...

362f3171dcf203c34319a1aec91e8aa9f0f2d6b3 authored over 5 years ago by Chao Yu <[email protected]>