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: correct variable type and name

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

278216b5dcf9ef4c6fa3a7dd818097ae0980e8ee authored over 8 years ago by Sheng Yong <[email protected]>
f2fs.fsck: fix endianess

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

89d5d52da864f1dbff0314a253e09e9a89ab1071 authored over 8 years ago by Sheng Yong <[email protected]>
dump.f2fs: show inode->i_dir_level

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

11adb13a79b141d99bb50b0f225332431939190c authored over 8 years ago by Sheng Yong <[email protected]>
mkfs: define DISCARD/SECDISCARD macro

If SECDISCARD/DISCARD is not defined, we can set it.
In Android, we must set -DWITH_BLKDISCARD t...

7b9c5fcdf11f0e8e080bac0f7c2f3218e00bd88b authored over 8 years ago by Jaegeuk Kim <[email protected]>
mkfs/fsck: add host-managed smr feature

This feature flag will be used by f2fs to detect HMSMR device.

Signed-off-by: Jaegeuk Kim <jaeg...

70a8fc3df7b72730fd2d40394892688292e8f78e authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: allow zero link count for orphan inode

This will be zeroed by f2fs during the mount time.

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

dc573510a3b7b764f22645da2352cf852b452e19 authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: modify sit dump && add nat dump

modify sit dump && add nat dump like this:

dump_sit:

segment_type(0:HD, 1:WD, 2:CD, 3:HN, 4:WN...

4f105bbaba07a90f2bed1e87dbe961c4252366e4 authored over 8 years ago by Yunlei He <[email protected]>
mkfs.f2fs: ZBC device support

This patch adds "-m" option to configure ZBC device.

This is to support host-managed SMR device...

74673eb7e6f223ce4023494b48915aa4371b3ef4 authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: check sector size if formatted from a regular file

This patch check sector size if formatted from a regular file,
write the sector info to superblo...

22aa244ad7a8839dd921995a3c12ff0a88f4dc7d authored over 8 years ago by Yunlei He <[email protected]>
fsck.f2fs: reset fsck flag if there is no bug

Let's update checkpoint, if fsck is set without any bug.

Signed-off-by: Jaegeuk Kim <jaegeuk@ke...

64198420586b5b37f4c23dea142492d376baaf22 authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: remove duplicated codes in sanity_check_raw_super

Remove duplicated codes in sanity_check_raw_super().

Signed-off-by: Junling Zheng <zhengjunling...

43448f9bfda5f2abcf36e3ce94e17752b0cbe421 authored over 8 years ago by Junling Zheng <[email protected]>
resize.f2fs: replace the overprovision calculation method

This patch replace the overprovision calculation method from
mkfs tool.

Signed-off-by: Yunlei H...

91bd80c4416e2633fe1020a30a9d209fea38f52a authored over 8 years ago by Yunlei He <[email protected]>
script: add simple test script

This patch adds a script to test sload.f2fs, defrag.f2fs, and resize.f2fs.

Signed-off-by: Jaege...

e52321f3ebde1fba51b48f201c90d0aa21a0a8d1 authored over 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: support to expand partition size

Now user can expand existing partition with resize.f2fs.
Currently, it doesn't support shrink an...

d3be08825e9f5ebe8e9bf9da9a9b77cefd9b525d authored over 8 years ago by Jaegeuk Kim <[email protected]>
sload.f2fs: support loading files into partition directly

This patch implements loading files into the existing partition.
For example,
# sload.f2fs -f ....

603f8f9d3628e8b81fea301e5f543a9f0b0d902d authored over 8 years ago by Jaegeuk Kim <[email protected]>
fibmap: pull in sys/sysmacros.h for major/minor

These funcs are provided by sys/sysmacros.h, so include the header
directly. Building with alte...

0e14e39d389bd01ff5419e8a1c1f0cc36cd170bd authored over 8 years ago by Mike Frysinger <[email protected]>
fsck.f2fs: check sanity of superblock and fix any misalignment

This patch detects any corrupted superblock and fix misalignment when it finds,
which is synced ...

99ffb3da59ad1e8ff4aa1ebf5243109a891b7401 authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: nullify the freed ckpt pointer

Otherwise, we get a double free error by:

In fsck/main.c,

545 out_err:
546 if (sbi->ck...

0301f1699136730b4509d862470f9d3b50e412ac authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: count the number of inodes during building nat_area_bitmap

The nid and ino of an inode are the same. So during building
nat_area_bitmap, we can know which ...

bc28669d6b8bbe873b91ca67f6d0fac354d21a13 authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: cache all nat entries and check each of them

All nat entries are cached during building nat_area_bitmap, so that, in
fsck_chk_meta, we can ge...

31f461cd896062c9bd0a7bc67f367aa61452505c authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: set fix_on if error is detected

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

bea9d60888e01552e3c3357b0338ca0836b018cd authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: introduce -p option to check meta

This patch introduces a new option '-p' to do more checks on NAT/SIT areas.
'-p' has 2 levels: l...

6e225697bda9459ffb62d0bcccc545193cc9ecdf authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: check ino in nat entry and node footer

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

ce46aed2598b3607c50a292698aa181595ba96a1 authored almost 9 years ago by Sheng Yong <[email protected]>
f2fs-tools: release 1.6.1

This version mostly fixes the bugs in fsck.f2fs.
Especially, this fixes a segfault bug when exec...

759df520ae0be9753b5ccf095a6ea19d45d09c01 authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: calculate orphan_blkaddr correctly

Commit 4ea4f1db ("fsck.f2fs: large volume support") added the support
for large volume over abou...

890e4e0c59fc2708099704eb81f8ff895467f253 authored almost 9 years ago by Junling Zheng <[email protected]>
fsck.f2fs: refactor extent info verification flow

There are some issues in original approach:
- memory allocated in i_extent.map will leak
- do no...

2a802319c3c45a527dc706173e9831ace5410ee7 authored almost 9 years ago by Chao Yu <[email protected]>
fsck.f2fs: check dirent position

This patch enables fsck.f2fs to detect incorrect position where dirent
locates in an hierarchica...

c8327c909f28fa306c99d262319fa8d2ce8a4324 authored almost 9 years ago by Chao Yu <[email protected]>
mkfs.f2fs: set segment_count in super block correctly

Now f2fs will check statistics recorded in super block in
sanity_check_area_boundary() during mo...

b385e9f93a07e488c9f933c2cf0134b3566ab6c6 authored almost 9 years ago by Fan Li <[email protected]>
f2fs-tools: rebase struct f2fs_summary_block with upstream

Struct f2fs_summary_block has been changed in upstream commits:
- commit 8f1dbbbbdfe9 ("f2fs: i...

f102ca4c3f421e04397ab2fab443ca43b86da385 authored almost 9 years ago by Chao Yu <[email protected]>
fsck.f2fs: check nat_entry->ino for all nodes

Commit 843f5b9388c4652a ("fsck.f2fs: check ino of an inode") checks
nat_entry->ino for inode. Ho...

323c8c82382520c0896388557323724204e04f67 authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: fix incorrect block_addr of node/meta

Fix incorrect block_addr of node or meta inode into 0x1 during
build_nat_area_bitmap().

Signed-...

9b09631c8f82b4687c179a6a4b86a4e6c5b4df75 authored almost 9 years ago by Junling Zheng <[email protected]>
fsck.f2fs: calculate the total size correctly

Correctly calculate the total FS size in init_sb_info(), for sector
size may not be 512 bytes.

...

bc6f686893f2b14a0d182fdb3b2165ac9720f0a2 authored almost 9 years ago by Junling Zheng <[email protected]>
fsck.f2fs: check valid values for dot dentries

Check valid values for '.' and '..', such as ino, hash_code, and the
number of dot or dotdot in ...

22778016fb2dbccd7388e6075e11d65452caf2bf authored almost 9 years ago by Liu Xue <[email protected]>
f2fs-tools: redefine MAX_SIT_BITMAP_SIZE

During mkfs, segment_count_sit is calculated using ALIGN and
SEG_ALIGN, which are both upward. T...

ecc43cc53f2e532c32df6947b333bc669c453c4c authored almost 9 years ago by Junling Zheng <[email protected]>
libf2fs: limit the total size up to 16T

F2FS can support 16T bytes at most. Limit the config.total_sectors
so that most parameters calcu...

ea34c1ce1487e72fd1ff2526a6f12449490170ff authored almost 9 years ago by Junling Zheng <[email protected]>
fsck.f2fs: fix corrupted nat entry [0]

The first nat entry must be null. If it is corrupted, we set its bit in
nat_area_bitmap, without...

c00fe85bc7166c1c34420cf621e749c3d3e42f78 authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: remove corrupted nid entry from indirect/double-indirect node

For indirect/double-indirect node, if the blk_addr in its nat entry is
corrupted, fsck could fig...

c6e8a6bdc4138a949b94e2dfa2f5f984dcd5508e authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: check /proc/mounts first to detect readonly

Once f2fs_stop_checkpoint makes f2fs as readonly, only /proc/mounts shows
RDONLY whereas /etc/mt...

50aa77b1d3a8ddad8e82a33783b9b9d2e8f32940 authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: show encrypted filenames matched with kernel

This patch follows the kernel's encrypted name resolution.

Signed-off-by: Jaegeuk Kim <jaegeuk@...

f8bc97b333d0528cf15acf81d8b62b346c1aefb4 authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: check ino of an inode

If the node is an inode, its ino in the nat entry should be equal to the
ino in its node footer....

843f5b9388c4652af8fd65ad3f6818432b22fa63 authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: check ino of an used nat entry

If a nid is valid, the ino in its nat entry should record its parent nid.
However if the ino is ...

a9cd90e531e4c23857e9f24032ab29d77f394e50 authored almost 9 years ago by Sheng Yong <[email protected]>
f2fs-tools: fix endianness of on-disk check_sum in summary_footer

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

1952ab467c1a98060b7cca7e3545cf958c106b00 authored almost 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: avoid fix ssa in some case

In some case, we need confirm node or data blkaddr is ok at first,
and then fix the conflict in ...

d9a6b189a9f6392f84c66f69dc8f7402d64be2db authored almost 9 years ago by Yunlei He <[email protected]>
mkfs.f2fs: reset dnode with zeros

This patch fixes resetting dnode blocks recursively.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel...

ad042d9194f5ff56b9e939b14a379f0346168b4a authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: nullify raw_super pointer

Otherwise it will cause double free.

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

e92fd4261894903fb8d6fa8de6a38c5eaf1a913c authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: return 0 for no error was reported

When skipping fsck, return 0 with message.

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

bbc4176aa7fbf5889156cf4117213c680fade87a authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: assign checkpoint pointer correctly

This patch fixes a bug that cp pointer is not assigned correctly.

Signed-off-by: Jaegeuk Kim <j...

231fc70f6e9d57658393911c705346b061f23513 authored almost 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: swap checkpoint crc to CPU endian

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

b9eb1dc383302676f7e188baf7bfa0c9e8fa4600 authored almost 9 years ago by Sheng Yong <[email protected]>
f2fs-tools: avoid failure and warnings for android build

This patch fixes to resolve build failure and warnings when compiling it
under AOSP.

Signed-off...

25b2e75312231659cd8460064e1892351171b00c authored almost 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: introduce zone align for main area

This patch calculate main area begin from a new zone,
avoid misalign if segments per zone is not...

e9dfbbbce9f9ed1b33fc2c5d7a616582e9ea2e7e authored almost 9 years ago by Yunlei He <[email protected]>
fsck.f2fs: fix double free invalid checkpoint

The invalid checkpoin is freed in validate_checkpoint().

Signed-off-by: Sheng Yong <shengyong1@...

2d3ea141ccf280dbf8b04a43c61d388cd147a568 authored almost 9 years ago by Sheng Yong <[email protected]>
man: add missing man pages

This patch adds missing man pages.

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

52dedc6b2faecd802994cc9f6bab2ca492c3d466 authored about 9 years ago by Jaegeuk Kim <[email protected]>
man: modify mkfs.f2fs man page

This patch adds missing [sectors] option in mkfs.f2fs, and removes
meaningless version.

Signed-...

d3258fa034b46f57035eb553e1eec3ec0bd635c7 authored about 9 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: release 1.6.0

This version introduces defrag.f2fs newly, and some major bug fixes too.

Signed-off-by: Jaegeuk...

ffd8d0514a624509e96ccfbdc1885478acf29be7 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: fix check error when calloc sum_compact failure

We should check sum_compact value when deal with sum_compact
calloc failure.

Signed-off-by: Xue...

e12a3c3a82bae42bf1b380718cb114ab540cf199 authored about 9 years ago by Liu Xue <[email protected]>
fsck.f2fs: fix losing journal entries

If fsck.f2fs reports a bug, move_curseg_info tries to change the current
segment info.
When it c...

a828ebb234b7badba730ff3a08304834ca57b7dc authored about 9 years ago by Jaegeuk Kim <[email protected]>
defrag.f2fs: fix missing SSA updates

Previously SSA is updated if it is not included in current segment info.
But, defrag.f2fs doesn'...

767a93ea8bf1f66cf119830d2a42775395675cd6 authored about 9 years ago by Jaegeuk Kim <[email protected]>
defrag.f2fs: enhance allocation speed

This patch improves the allocation speed.

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

f66104cf3a29b9e5645ba77090fac0521cf73318 authored about 9 years ago by Jaegeuk Kim <[email protected]>
libf2fs: fix incorrect type define of declaration

When compiling f2fs toolset in 32-bits machine, following error was
reported:

libf2fs.c:342:5: ...

dbe78ae5297f5507472eedc3bfc59d658632c3e4 authored about 9 years ago by Chao Yu <[email protected]>
defrag.f2fs: return error if there is no space

This patch checks whether there is a space or not to allocate new blocks.

Signed-off-by: Jaegeu...

d6147940b92a409667cbff3b047ce7f384b8d6b5 authored about 9 years ago by Jaegeuk Kim <[email protected]>
defrag.f2fs: eliminate unexpected journal entries

When moving data or node blocks, it changes current segment information
dynamtically. Meanwhile,...

17acba6d3da4efd60142b513b2017bddf67d49bb authored about 9 years ago by Jaegeuk Kim <[email protected]>
defrag.f2fs: fix not to allocate current segment

This patch fixes allocating wrong segment which has zero data but is registered
as a current seg...

552d6a8f4bf524558218aea42f5faf230b7b6128 authored about 9 years ago by Jaegeuk Kim <[email protected]>
lib: use u8/u32/u64 for bit operations

This cleans up the bit operations.

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

b008605e994ad0eec5e1680b6921dc9d9d5da355 authored about 9 years ago by Jaegeuk Kim <[email protected]>
lib: fix test_bit_le functions

This patch fixes test_bit_le functions for dentry bit operations.

Signed-off-by: Jaegeuk Kim <j...

ee65f6ebf21194bbb4f33e688c860a28e5c57c71 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: remove extent_cache entry for parent directory

Currently, directory should not have any extent cache entry.
Otherwise, fsck.f2fs will trigger a...

c8514f82aa0043fe348a8eb69720b6fb5bffbe76 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: fix storing volume label correctly in utf16

This patch fixes to store volume label as utf16 correctly.

Many conversion codes are copied fro...

9e5c021b679ebd54c719d68e8b5e6b5614fbf127 authored about 9 years ago by Jaegeuk Kim <[email protected]>
Revert "fsck.f2fs: deal with realloc failure"

This reverts commit 43095ca4c293249affc29a975c151c92d24b13b5.

25e7128efa0ec86acb4bd67d9de946857bfe3f03 authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: deal with realloc size and realloc failure

Deal with realloc failure to avoid memory leak and memory free,
and assert realloc size to avoid...

0ff98a36791af6e4191f7e4360a8eeec46882f51 authored about 9 years ago by Liu Xue <[email protected]>
mkfs.f2fs: fix to calculate left space of checkpoint page correctly

We reserved one segment for NAT region at least, so when formatting
fs, calculated maximum size ...

0fddd6e563ab19c379ad9bbb3039b38d5e8e047c authored about 9 years ago by Chao Yu <[email protected]>
defrag.f2fs: introduce defragmentation tool

This tool tries to move the valid blocks ranging from blkaddr to blkaddr + len
to targeted blkad...

2c1ebe237acb9b1e8093f9aecd0c92b53583877b authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: LFS alloc_type must have free segment after blkoff

This patch checks alloc_type of current segment type.
If it is LFS, the last of segment should h...

003b102d8a26e82547ecfd89dc36066616b4ffaa authored about 9 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: export print_raw_sb_info

This patch exports print_raw_sb_info().

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

1a35b5e29df043678b7ce485aee5fb2607d514c8 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: export get_best_overprovision

This patch exports get_best_overprovision() function.

Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...

c8ce2bf7b1416d65655786a44187f10a0479c6e2 authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: sanity_check for extent_cache entry

This patch adds to check the stored extent_cache entry is consistent or not.

Signed-off-by: Jae...

c605c5eb4c20d4617cfda397e602f7232a28d45f authored about 9 years ago by Jaegeuk Kim <[email protected]>
libf2fs: enhance the bit operations

This patch modifies the existing bit operations.

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

1ea31c47f4050e9d4b6685f28d4ae6bfd10d4368 authored about 9 years ago by Jaegeuk Kim <[email protected]>
Merge "Rename libext2 host libraries to standard suffix."

5bd943d50d103eb6f48a72f199a49dce4feeb61a authored about 9 years ago by Alex Deymo <[email protected]>
Rename libext2 host libraries to standard suffix.

libext2_uuid_host was renamed to libext2_uuid-host to match the
"-host" suffix used in most libr...

fe44650f0c54aa3caebfb5dd6156cd36fbb6c871 authored about 9 years ago by Alex Deymo <[email protected]>
Rename libext2 host libraries to standard suffix.

libext2_uuid_host was renamed to libext2_uuid-host to match the
"-host" suffix used in most libr...

183da748b2ef4a1ae2b0e516fe02a0c8c421a5ce authored about 9 years ago by Alex Deymo <[email protected]>
f2fs-tools: add library version info

This patch gives the version info for two libraries.

mkfs/libf2fs_format.la
lib/libf2fs.la

The...

85aa525057e1314feb00aa7a06d620a42f1b4975 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs/Makefile.am: add a section to build libf2fs_fmt

libf2fs_fmt is compiled from the same sources of mkfs.f2fs. This library is
required by libf2fs_...

d6b0f7091ab1da686e1485c0f05227ce85f3e05e authored about 9 years ago by Kai-Chung Yan <[email protected]>
mkfs.f2fs: show correct partition size

It needs to consider different sector size when showing the total
size.

Signed-off-by: Jaegeuk ...

3894c697cede172982b319cceef4d7ea1ffdd999 authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: use get_{sb|cp} and set_{sb|cp} macros

We can use get_cp, set_cp, get_sb, and set_sb in fsck.f2fs.

Signed-off-by: Jaegeuk Kim <jaegeuk...

0e0b9f284477dc8505a69a0f5073d4385f56a7d6 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: export get_{sb|cp} and set_{sb|cp}

This patch exports get_sb, set_sb, get_cp, and set_cp for other tools.

Signed-off-by: Jaegeuk K...

06a19451eeecd8421be7eafd8d6581d54b9f6b05 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: discard obsolete blocks to avoid roll-forward recovery

If there are many obsolete blocks written by previous usage, we can recover
wrong blocks with th...

c93711f36c2a026bb7e6a8024abdceb101b03c90 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: skip extension name that is too long

The length of extension name has a limit of 8 bytes. If an extension
exceeds the limitation, it ...

c9274cb6461d86cc3a30e62045eaafd2e1419b59 authored about 9 years ago by Chao Yu <[email protected]>
mkfs.f2fs: avoid dumplicate extensions

Before copying an user specified extension to extension_list, check if it
is already in the list...

1540a28ca952c087b78660792340b74b192e8787 authored about 9 years ago by Sheng Yong <[email protected]>
fsck.f2fs: deal with realloc failure

Deal with realloc failure to avoid memory leak and memory free.

Signed-off-by: Xue Liu <liuxuel...

43095ca4c293249affc29a975c151c92d24b13b5 authored about 9 years ago by Liu Xue <[email protected]>
fsck.f2fs: declare static function

This avoids the following warning.

mount.c:783:27: warning: SM_I is static but used in inline f...

ee48fd2ced9bee686a51062d9d53f329a396a4e3 authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: support a readonly filesystem

If f2fs is mounted as ro, we can do fsck.f2fs.

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

67de42f76ac67a941cacb689cbd2e0d750ad67a9 authored about 9 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: release 1.5.0

This version includes bug fixes on fsck.f2fs and also support of more precise
overprovision sele...

c134e0eb2b1f0fcfba2d80c0fdcdefb9311496ba authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: support a preen mode

Generic fsck uses -p, preen mode, and fsck.f2fs can support it as -a for now.

Signed-off-by: Ja...

5489249c23e00b775286d6f6d6df38b8614a30e9 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: support <1% overprovision ratio

Big partition size needs uner 1% overprovision space to acquire more space.

section ovp ra...

2cdb04b52f202e931e370564396366d44bd4d1e2 authored about 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: check sit types for node or data only

Previously, check_sit_types didn't handle different numbers of active logs and
SSR cases. But, i...

e8766f2887bfd965f087127211f09c177ac3f098 authored about 9 years ago by Jaegeuk Kim <[email protected]>
man: fix missing description for overprovision ratio

This patch updates mkfs.f2fs man page to indicate the automatic ovp
calculation.

Signed-off-by:...

555138c23b2a13dbbe296d673cb871d3a733fda1 authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: fix wrong ovp space calculation on large section

If a section consists of multiple segments, we should change the equation
to apply it on reserve...

6e2b58dcaffc2d88291e07fa1f99773eca04a58f authored about 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: don't need to limit MIN_VOLUME SIZE

The minimum volume size is determined while preparing superblock.

Signed-off-by: Jaegeuk Kim <j...

6f9c275125853d4195c4913b817ddc97510409c5 authored over 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: set overprovision size more precisely

This patch introduces to set the default overprovision space according to the
partition size in ...

0d6d08e3f52b2253c1cbd8f2f4da837377cbbbe8 authored over 9 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: fix wrong documentation

The -s should be the number of segments per a section.

Reported-by: Marc Lehmann <schmorp@schmo...

01219c7b195a552816c46ee3ad2ba8dcecc0eb5b authored over 9 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: add segment type in sit_dump

Add segment type information in sit_dump:

[sit_dump: 48] SIT[0x12905] : 0x 1 : 0
[sit_dump:...

e9f8ae8b3e008f855df944dfa9afbd4fef54192a authored over 9 years ago by Yunlei He <[email protected]>
fsck.f2fs: drop extent_info to avoid potential wrong access

This patch avoids wrong extent information modified by fixing block addresses.

Signed-off-by: J...

ca1436eeef10a23586c64491d308dd8c2e22174b authored over 9 years ago by Jaegeuk Kim <[email protected]>