fs_fill_btrfs: btrfs fs_fill test set mkfs.btrfs -s 4k
PATCH 1/1 fs_fill_btrfs: btrfs fs_fill test set mkfs.btrfs -s 4k
On PPC64 the page size is 64K and this causes trouble on btrfs filesystems of small size(LTP currently use 300M), the threads could compete for a very small number of pages/blocks to actually write the data. So force the test case with sector size 4k. e.g. mkfs.btrfs -s 4k
--- runtest/fs | 1 + testcases/kernel/fs/fs_fill/fs_fill.c | 4 + testcases/kernel/fs/fs_fill/fs_fill_btrfs.c | 134 ++++++++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 testcases/kernel/fs/fs_fill/fs_fill_btrfs.c
runtest/fs +1 -0
@@ -82,6 +82,7 @@ quota_remount_test01 quota_remount_test01.sh isofs isofs.sh fs_fill fs_fill +fs_fill_btrfs fs_fill_btrfs binfmt_misc01 binfmt_misc01.sh binfmt_misc02 binfmt_misc02.sh
testcases/kernel/fs/fs_fill/fs_fill.c +4 -0
@@ -129,5 +129,9 @@ static struct tst_test test = { .setup = setup, .cleanup = cleanup, .test = testrun, + .skip_filesystems = (const char *[]) { +"btrfs" , +NULL + }, .tcnt =2 };
testcases/kernel/fs/fs_fill/fs_fill_btrfs.c new file +134 -0
134 lines not on this page · raw message
Signature · 5 lines
2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi,
Quoted 5 lines
On PPC64 the page size is 64K and this causes trouble on btrfs filesystems of small size(LTP currently use 300M), the threads could compete for a very small number of pages/blocks to actually write the data. So force the test case with sector size 4k. e.g. mkfs.btrfs -s 4k
there were other fixes merged, therefore closing this.
7d39a10b7 ("fs_fill: Increase timeout to 5 min") 848dd6fba ("fs_fill: Increase test loop device size to 1GB")
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp