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
..
2020-11-05 11:43:34 +01:00
2021-03-04 10:26:48 +01:00
2021-09-30 10:09:22 +02:00
2019-10-25 00:03:11 -04:00
2019-08-30 07:27:17 -07:00
2021-01-06 14:48:39 +01:00
2022-01-27 09:19:51 +01:00
2020-11-05 11:43:36 +01:00
2021-10-27 09:54:27 +02:00
2021-12-01 09:23:34 +01:00
2019-09-19 09:42:37 -07:00
2021-07-14 16:53:46 +02:00
2019-11-23 21:44:49 -05:00
2021-09-12 08:56:38 +02:00
2022-01-27 09:19:36 +01:00
2019-09-03 09:30:56 -04:00
2022-01-27 09:19:40 +01:00
2021-05-26 12:05:19 +02:00
2020-12-02 08:49:53 +01:00
2019-08-30 07:27:17 -07:00
2021-11-21 13:38:51 +01:00
2019-11-10 11:56:05 -05:00
2021-10-09 14:39:49 +02:00
2022-01-27 09:19:51 +01:00
2022-01-27 09:19:53 +01:00
2020-06-17 16:40:36 +02:00
2019-08-30 07:27:17 -07:00
2021-09-22 12:26:25 +02:00
2022-01-27 09:19:49 +01:00
2021-12-08 09:01:08 +01:00
2021-07-31 08:19:38 +02:00
2021-05-19 10:08:29 +02:00
2021-04-14 08:24:14 +02:00
2019-08-30 08:11:25 -07:00
2021-07-28 13:31:01 +02:00
2021-09-15 09:47:35 +02:00
2021-11-12 14:43:03 +01:00
2020-11-18 19:20:30 +01:00
2022-01-27 09:19:45 +01:00
2021-11-17 09:48:42 +01:00
2020-08-19 08:16:12 +02:00
2021-09-22 12:26:34 +02:00
2020-08-21 13:05:37 +02:00
2021-12-08 09:01:08 +01:00
2020-12-30 11:51:22 +01:00
2021-12-22 09:29:35 +01:00
2021-09-26 14:07:13 +02:00
2020-06-17 16:40:24 +02:00
2021-12-14 14:48:58 +01:00
2021-11-17 09:48:17 +01:00
2019-08-30 08:11:25 -07:00
2022-01-20 09:19:17 +01:00
2021-12-22 09:29:40 +01:00
2021-12-01 09:23:31 +01:00
2021-03-04 10:26:45 +01:00
2021-09-30 10:09:26 +02:00
2019-08-30 07:27:17 -07:00
2021-11-17 09:48:26 +01:00
2020-10-29 09:57:53 +01:00
2021-08-12 13:21:05 +02:00
2020-08-26 10:40:51 +02:00
2021-05-19 10:08:29 +02:00
2021-03-07 12:20:48 +01:00
2019-08-30 07:27:18 -07:00
2021-12-14 14:49:02 +01:00
2022-01-27 09:19:49 +01:00
2021-11-26 10:47:21 +01:00
2020-08-21 13:05:37 +02:00
2019-09-17 11:48:24 -04:00
2021-10-06 15:42:30 +02:00
2022-01-11 15:23:32 +01:00
2021-12-14 14:49:02 +01:00
2020-02-11 04:35:12 -08:00
2021-10-06 15:42:35 +02:00
2020-09-03 11:26:39 +02:00
2021-03-17 17:03:57 +01:00
2021-05-22 11:38:29 +02:00
2020-11-05 11:43:24 +01:00
2020-01-14 20:08:18 +01:00
2020-01-09 10:20:05 +01:00
2020-12-11 13:23:30 +01:00
2020-10-29 09:57:45 +01:00
2021-07-14 16:53:25 +02:00
2020-10-01 13:17:19 +02:00
2021-04-14 08:24:11 +02:00
2020-01-12 12:21:37 +01:00
2020-02-11 04:35:37 -08:00
2020-10-07 08:01:31 +02:00
2021-10-27 09:54:27 +02:00
2021-09-15 09:47:28 +02:00
2021-12-08 09:01:11 +01:00
2020-04-17 10:50:21 +02:00
2022-01-20 09:19:18 +01:00
2019-09-12 21:06:14 -04:00
2021-07-14 16:53:35 +02:00
2020-03-25 08:25:58 +01:00
2021-07-31 08:19:37 +02:00
2021-01-30 13:54:10 +01:00
2019-12-17 19:55:30 +01:00
2019-09-18 16:59:14 -07:00
2020-11-24 13:29:19 +01:00
2020-03-25 08:25:41 +01:00
2019-09-18 16:59:14 -07:00
2020-01-17 19:48:21 +01:00
2020-03-05 16:43:48 +01:00
2021-08-26 08:36:22 -04:00
2020-03-18 07:17:51 +01:00
2021-08-12 13:21:02 +02:00
2020-05-02 08:48:44 +02:00
2021-03-17 17:03:33 +01:00
2019-09-06 21:28:49 +02:00
2020-02-11 04:35:23 -08:00
2021-04-21 12:56:16 +02:00
2021-03-24 11:26:44 +01:00
2021-07-20 16:10:54 +02:00
2021-12-14 14:49:02 +01:00
2019-12-17 19:56:52 +01:00
2019-10-03 14:21:35 -07:00
2022-01-20 09:19:17 +01:00
2021-09-22 12:26:26 +02:00
2020-02-11 04:35:12 -08:00
2020-08-11 15:33:39 +02:00