Age | Commit message (Collapse) | Author |
|
We now have a lightweight binary (not statically linked) to create
f2fs filesystems on a device. Leaves the existing mkfs.f2fs intact
for recovery to continue using.
Bug: 20275581
Change-Id: Ibe0495ee6fa620f76d77f4dd0b89012ce9682b1b
|
|
* commit '9351bc8fb103be316216a4acde114756172d52d5':
f2fs-tools: release 1.4.1
|
|
* commit 'a16ec08f3e715c0b4f7cf9c0377e6f18173d410d':
f2fstat: fix option parsing
|
|
* commit '3e2c7b7ed31829c836958b87656b286d9ddfa10c':
fsck.f2fs: remove corrupted data indices in direct node blocks
|
|
* commit '0bdc381123301faf15867e8728f6dca34d6a78d6':
mkfs.f2fs: avoid memory leak in mkfs
|
|
* commit '400a84068b47b92a45c30a756669062e7d81077c':
fsck.f2fs: support large sector size
|
|
* commit '29ab4d8788d204edb362f01879e1d3d4f516e967':
mkfs.f2fs: support large sector size
|
|
* commit '8bcdc5fdb206196241dc6fc535e6d285d4985201':
fsck.f2fs: readahead node blocks to speed up
|
|
* commit '3bcf2237352307b2e9820e635097358eda3d356e':
dump.f2fs: show checkpoint flag
|
|
* commit 'f3b55c8ff22bfd7bfb5588637d08804aca9ac148':
fsck.f2fs: fix sit types seamlessly
|
|
* commit '3f4bcefe561da90a2639436dc66a8e6e783ea040':
fibmap.f2fs: fix the wrong stat info
|
|
* commit '550702090691af07a3282119ef4f37440c93829e':
configure: add check for bswap_64
|
|
* commit '3cd5ba14a4d83e94e1402c4ba1a5c3f030f20d50':
configure: also check for byteswap.h
|
|
* commit '744352418daf27a99d73649d8d22b315ceafcd34':
parse.f2fs: add a tool to parse IO traces made by runtime f2fs
|
|
* commit 'c511d5d0ec5290dbf1e4e1bc8afc8ddd8feac4c4':
dump.f2fs: dump owner of data given block address
|
|
* commit '1e69ed2c8a4164968f853a28a8ae54afefaaae4c':
fsck.f2fs: no need to fix SIT type for COLD_DATA
|
|
* commit '060292e67ad6c191be086c6dd520fd7365050ed6':
mkfs.f2fs: introduce some macros to simplify coding style
|
|
* commit '7dce30f2acad0f1f23d566c43e83d3f0098b1c1b':
fsck.f2fs: remove unused value
|
|
* commit '631e2d9820b5bdb9f79cdcd8c9df7ca7f7ee3e41':
mkfs.f2fs: fix missing endian conversion
|
|
* commit 'a0b4fabc5dbadcc523de116dae5151e770a1475f':
mkfs: use compact mode for data summaries
|
|
* commit '97e299da3a91d8f558f551d452b4149cb6781750':
fsck.f2fs: add a missing 'fixed' during chk_dentries()
|
|
* commit '7b5d1181a4663c9a55658791de6c04c30e52602a':
fsck.f2fs: avoid false alarm on SIT type fix
|
|
* commit 'fbfd8e3ae04a2f91ce28d0cb26e4e677b3a0076c':
fsck.f2fs: remove unneeded return
|
|
* commit 'a21f461a0f945b081e64d4d47356bca918940af7':
fsck.f2fs: show orphan inodes when fixing partition
|
|
* commit '650ad1e30cfa51d4e6db639e3da422385b7f7872':
mkfs.f2fs: reclaim free space in case of regular file
|
|
* commit '0f736527eb38eae3778b8be81921a9c458ad647f':
mkfs.f2fs: give a kernel version for initial format
|
|
* commit 'c07795e73cbc509286e35193759e80d65ee12a44':
fsck.f2fs: trigger fsck.f2fs when new change was made
|
|
* commit 'f54dd91d065c15b84686a3fde7a096786e368201':
fsck.f2fs: fix SIT entry types
|
|
This version includes mostly bug fixes.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
On systems using unsigned char as default (char)EOF != EOF.
Use int to store returned value of getopt to make it work on all platforms.
Signed-off-by: Michael Lass <bevan@bi-co.net>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
Previously, only data blocks locating in its inode block could be fixed.
This patch investigates direct node blocks to fix indices too.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch fixes memory leak in mkfs.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
Since f2fs support large sector size in commit 55cf9cb63f0e "f2fs: support large
sector size", block device with sector size of 512/1024/2048/4096 bytes can be
supported.
But fsck.f2fs still use default F2FS_LOG_SECTOR_SIZE/F2FS_LOG_SECTORS_PER_BLOCK to
verify related data in f2fs image, it's wrong, let's fix this issue in this patch.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
Since f2fs support large sector size in commit 55cf9cb63f0e "f2fs: support large
sector size", block device with sector size of 512/1024/2048/4096 bytes can be
supported.
But mkfs.f2fs still use default sector size: 512 bytes as sector size, let's fix
this issue in this patch.
v2:
o remove unneeded printed message when sector size is large than 512 bytes
suggested by Kinglong.
o show correct sector size in printed message.
o use config.sectors_per_blk instead of DEFAULT_SECTORS_PER_BLOCK suggested by
Kinglong.
v3:
o remove another unneeded printed message when sector size is large than 512
bytes suggested by Kinglong.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Reviewed-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch adds readahead system call to speed up node block reads.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch is to show the checkpoint flag.
With this flag, we can guess the last status of the partition.
And, this can be used by xfstests.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
SIT types can be wrong when active_logs are 2 or 4.
So, let's fix this implicitly.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
fibmap shows ino, size, blocks with incorrectly decimal number, fix it.
Before:
--------------------------------------------
dev [8:16]
ino [0x 238ea : 0]
mode [0x 81a4 : 33188]
nlink [0x 1 : 1]
uid [0x 0 : 0]
gid [0x 0 : 0]
size [0x 79e00 : 0]
blksize [0x 1000 : 4096]
blocks [0x 268 : 0]
--------------------------------------------
Patched:
--------------------------------------------
dev [8:16]
ino [0x 238ea : 145642]
mode [0x 81a4 : 33188]
nlink [0x 1 : 1]
uid [0x 0 : 0]
gid [0x 0 : 0]
size [0x 79e00 : 499200]
blksize [0x 1000 : 4096]
blocks [0x 268 : 616]
--------------------------------------------
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
include/f2fs_fs.h checks the HAVE_BSWAP_64 conidtional, but configure
nevers checks for it.
Add a check that the function is indeed declared, and fix the variable
name to match the naming scheme of autoconf (and not those of WAF like
is used by samba), and adapt the check as suggested in the autoconf
manual.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
include/f2fs_fs.h checks the HAVE_BYTESWAP_H conditional, but it is
never checked for in configure.
Add that header to the list of headers checked for.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch adds parse.f2fs to retrieve process information and an amount
of data reads and writes from given IO trace got by f2fs.
Signed-off-by: Jaegeuk Kim <jaegeuk@motorola.com>
|
|
This patch introduces a feature to dump owner information of given block
address.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
If hot or warm data blocks were moved to the cold log, we should remain them
in the cold log.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch tries to simplify coding style for readability.
Rename shortly
o rename super_block to sb
And, introduce some macros.
o set/get_cp
o set/get_sb
o next/prev_zone, last_zone and last_section
o ALIGN, SEG_ALIGN and ZONE_ALIGN
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
Remove build warning.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This is for conversion from cpu to little endian and vice versa.
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch is for optimization related to format
o reduce 2 blocks for data summaries
o reduce initial mount time after mkfs.f2fs
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
One of the cases would update the dentries but not set
fixed=1 causing the update to not be written out.
Change-Id: I111d599f93f7d5306dacd7d62da946fdb5c262ee
Signed-off-by: JP Abgrall <jpa@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
This patch removed a false alarm when detecting any inconsistency in SIT types.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
|
To show better output.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|