generic/700 - output mismatch (see
/media/fstests/results//generic/700.out.bad)
--- tests/generic/700.out 2023-03-28 10:40:42.735529223 +
+++ /media/fstests/results//generic/700.out.bad 2024-02-06
04:37:56.0 +
@@ -1,2 +1,4 @@
QA output created by 700
From: Gabriel Krisman Bertazi
Keeping it as qstr avoids the unnecessary conversion in f2fs_match
Reviewed-by: Eric Biggers
Signed-off-by: Gabriel Krisman Bertazi
[eugen.hris...@collabora.com: port to 6.8-rc3]
Signed-off-by: Eugen Hristev
---
fs/f2fs/dir.c | 53
From: Gabriel Krisman Bertazi
Keeping it as qstr avoids the unnecessary conversion in ext4_match
Reviewed-by: Eric Biggers
Signed-off-by: Gabriel Krisman Bertazi
[eugen.hris...@collabora.com: port to 6.8-rc3]
Signed-off-by: Eugen Hristev
---
fs/ext4/ext4.h | 2 +-
fs/ext4/namei.c | 23
Hello,
I am trying to respin the series here :
https://www.spinics.net/lists/linux-ext4/msg85081.html
To make it easier to apply I split it into smaller chunks which address
one single thing.
This series will just convert to qstr the storage of the filename
currently using fscrypt_str .
Gabriel
Introduce /sys/fs/f2fs//compress_extension to support
adding/deleting compress extension via sysfs interface, in
comparison to mount option, it's more easy to use and less
authority issue for applications.
Usage:
- Query: cat /sys/fs/f2fs//compress_extension
- Add: echo '[c|n]extension' >
On 02/06, Jaegeuk Kim wrote:
> Since we don't see any user, let's kill.
>
> Signed-off-by: Jaegeuk Kim
> ---
> Documentation/ABI/testing/sysfs-fs-f2fs | 6 --
> fs/f2fs/debug.c | 7 +-
> fs/f2fs/f2fs.h | 5 --
> fs/f2fs/file.c
When CONFIG_F2FS_CHECK_FS is not enabled, f2fs_bug_on just printing
warning, get_new_segment may get an out-of-bounds segment when there
is no free segments. Then a block is allocated from this invalid
segment, update_sit_entry will access the invalid bitmap address,
cause system panic. Just as
There is a corner scenario on a small-capacity partition with 64MB size:
1. The main area has a total of 24 segments, and there are no free
segments left shown from the free_segmap bitmap and free_secmap in
free_segmap_info.
-
NULL_SEGNO should also be returned when the blk_addr value is
out-of-bound main area even __is_valid_data_blkaddr return true.
For example, a 64MB partition with total 24 main segments has no
any free segments left, then a new wrtie request use get_new_segment
may get a out-of-bound segno 24 if
There is low probability that an out-of-bounds segment will be got
on a small-capacity device. In order to prevent subsequent write requests
allocating block address from this invalid segment, which may cause
unexpected issue, stop checkpoint should be performed.
Also introduce a new stop cp
A panic issue happened in a reboot test in small capacity device
as following:
1.The device size is 64MB, and main area has 24 segments, and
CONFIG_F2FS_CHECK_FS is not enabled.
2.There is no any free segments left shown in free_segmap_info,
then another write request cause get_new_segment get a
Let's deprecate an unused io_bits feature to save CPU cycles and memory.
Signed-off-by: Jaegeuk Kim
---
Documentation/filesystems/f2fs.rst | 2 -
fs/f2fs/data.c | 73 +
fs/f2fs/f2fs.h | 25 ++---
fs/f2fs/file.c
Since we don't see any user, let's kill.
Signed-off-by: Jaegeuk Kim
---
Documentation/ABI/testing/sysfs-fs-f2fs | 6 --
fs/f2fs/debug.c | 7 +-
fs/f2fs/f2fs.h | 5 --
fs/f2fs/file.c | 6 +-
fs/f2fs/gc.c
No functional change.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/checkpoint.c | 10 ++--
fs/f2fs/debug.c | 6 +--
fs/f2fs/f2fs.h | 19 +---
fs/f2fs/file.c | 12 ++---
fs/f2fs/gc.c | 40
fs/f2fs/node.c | 4 +-
fs/f2fs/node.h | 4 +-
On Tue, Feb 6, 2024 at 11:36 AM Chao Yu wrote:
>
> On 2024/2/6 11:32, Jaegeuk Kim wrote:
> > On 02/05, Chao Yu wrote:
> >> On 2024/2/5 11:30, Zhiguo Niu wrote:
> >>> There are some cases of f2fs_is_valid_blkaddr not handled as
> >>> ERROR_INVALID_BLKADDR,so unify the error handling about all of
>
From: Daeho Jeong
Support swap file pinning for zoned devices
Signed-off-by: Daeho Jeong
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/data.c | 54 --
1 file changed, 35 insertions(+), 19 deletions(-)
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
From: Daeho Jeong
Support file pinning with conventional storage area for zoned devices
Signed-off-by: Daeho Jeong
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/f2fs.h| 14 +-
fs/f2fs/file.c| 24
fs/f2fs/gc.c | 14 +++---
fs/f2fs/segment.c | 71
From: Daeho Jeong
Make f2fs_gc_range() an extenal function to use it for GC for a range.
Signed-off-by: Daeho Jeong
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/gc.c | 49 -
1 file changed, 28 insertions(+), 21 deletions(-)
diff --git a/fs/f2fs/gc.c
18 matches
Mail list logo