Chao Yu
fdc1ce9790
f2fs: fix to reserve space for IO align feature
commit 300a842937fbcfb5a189cea9ba15374fdb0b5c6b upstream.
https://bugzilla.kernel.org/show_bug.cgi?id=204137
With below script, we will hit panic during new segment allocation:
DISK=bingo.img
MOUNT_DIR=/mnt/f2fs
dd if=/dev/zero of=$DISK bs=1M count=105
mkfs.f2fe -a 1 -o 19 -t 1 -z 1 -f -q $DISK
mount -t f2fs $DISK $MOUNT_DIR -o "noinline_dentry,flush_merge,noextent_cache,mode=lfs,io_bits=7,fsync_mode=strict"
for (( i = 0; i < 4096; i++ )); do
name=`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 10`
mkdir $MOUNT_DIR/$name
done
umount $MOUNT_DIR
rm $DISK
|
2022-01-27 09:19:53 +01:00 |
| .. |
|
acl.c
|
|
|
|
acl.h
|
|
|
|
checkpoint.c
|
f2fs: quota: fix potential deadlock
|
2022-01-11 15:23:30 +01:00 |
|
data.c
|
f2fs: fix unexpected ENOENT comes from f2fs_map_blocks()
|
2021-09-22 12:26:26 +02:00 |
|
debug.c
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
dir.c
|
f2fs: reduce the scope of setting fsck tag when de->name_len is zero
|
2021-09-22 12:26:23 +02:00 |
|
extent_cache.c
|
|
|
|
f2fs.h
|
f2fs: fix to reserve space for IO align feature
|
2022-01-27 09:19:53 +01:00 |
|
file.c
|
f2fs: fix to unmap pages from userspace process in punch_hole()
|
2021-09-22 12:26:26 +02:00 |
|
gc.c
|
f2fs: fix to do sanity check in is_alive()
|
2022-01-27 09:19:26 +01:00 |
|
gc.h
|
|
|
|
hash.c
|
|
|
|
inline.c
|
f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
|
2021-05-19 10:08:25 +02:00 |
|
inode.c
|
f2fs: should use GFP_NOFS for directory inodes
|
2021-11-17 09:48:49 +01:00 |
|
Kconfig
|
|
|
|
Makefile
|
|
|
|
namei.c
|
f2fs: should use GFP_NOFS for directory inodes
|
2021-11-17 09:48:49 +01:00 |
|
node.c
|
f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
|
2021-12-01 09:23:34 +01:00 |
|
node.h
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
recovery.c
|
f2fs: fix error path in do_recover_data()
|
2020-09-03 11:26:45 +02:00 |
|
segment.c
|
f2fs: show f2fs instance in printk_ratelimited
|
2021-09-22 12:26:23 +02:00 |
|
segment.h
|
f2fs: fix to reserve space for IO align feature
|
2022-01-27 09:19:53 +01:00 |
|
shrinker.c
|
f2fs: avoid race condition for shrinker count
|
2021-01-06 14:48:40 +01:00 |
|
super.c
|
f2fs: fix to reserve space for IO align feature
|
2022-01-27 09:19:53 +01:00 |
|
sysfs.c
|
f2fs: fix to reserve space for IO align feature
|
2022-01-27 09:19:53 +01:00 |
|
trace.c
|
|
|
|
trace.h
|
|
|
|
verity.c
|
f2fs: fix error handling in f2fs_end_enable_verity()
|
2021-05-19 10:08:32 +02:00 |
|
xattr.c
|
f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
|
2021-12-29 12:23:37 +01:00 |
|
xattr.h
|
|
|