Skip to contentSkip to conversation

inode: convert to new API and merge into a single test

PATCH Superseded Andrea Cervesato 2 participants 2 messages Jul 21

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 inode: convert to new API and merge into a single test

From: Andrea Cervesato <[email protected]>

The inode01 and inode02 tests shared the same directory/file tree engine and differed only in tree dimensions and in whether the workload ran in a single process or across several parallel workers.

inode01 now covers both scenarios, so inode02 is removed together with its entries in runtest/fs, runtest/fs_readonly and the .gitignore. Note this drops inode02 as a test id; its runtest/fs_readonly slot is left as a gap so unrelated test_robind entries keep their numbers.

---
 runtest/fs                           |   1 -
 runtest/fs_readonly                  |   1 -
 testcases/kernel/fs/inode/.gitignore |   1 -
 testcases/kernel/fs/inode/inode01.c  | 942 +++++----------------------
 testcases/kernel/fs/inode/inode02.c  | 902 -------------------------
 5 files changed, 163 insertions(+), 1684 deletions(-)
 rewrite testcases/kernel/fs/inode/inode01.c (99%)
 delete mode 100644 testcases/kernel/fs/inode/inode02.c
runtest/fs +0 -1
index 1d753e0dd..3d0137ee7 100644
@@ -43,7 +43,6 @@ fs_inod01 fs_inod $TMPDIR 10 10 10
 linker01 linktest.sh
 openfile01 openfile -f10 -t10
 inode01 inode01
-inode02 inode02
 stream01 stream01
 stream02 stream02
 stream03 stream03
runtest/fs_readonly +0 -1
index dc70d28d8..c29c7e551 100644
@@ -37,7 +37,6 @@ test_robind36 test_robind.sh -c "rwtest -N iogen01 -i 120s -s read,write -Da -Dv
 test_robind37 test_robind.sh -c "fs_inod . 10 10 1"
 test_robind38 test_robind.sh -c "openfile -f10 -t10"
 test_robind39 test_robind.sh -c "inode01"
-test_robind40 test_robind.sh -c "inode02"
 test_robind41 test_robind.sh -c "stream01"
 test_robind42 test_robind.sh -c "stream02"
 test_robind43 test_robind.sh -c "stream03"
testcases/kernel/fs/inode/.gitignore +0 -1
index 92d90357a..13f7f27fa 100644
@@ -1,2 +1 @@
 /inode01
-/inode02
testcases/kernel/fs/inode/inode01.c +163 -779

942 lines not on this page · raw message

testcases/kernel/fs/inode/inode02.c deleted +0 -902

902 lines not on this page · raw message

Signature · 5 lines
2.51.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Andrea,

Quoted 1 line · Andrea Cervesato

inode: convert to new API and merge into a single test

Verdict - Reviewed

---
Note:

The agent can sometimes produce false positives although often its findings are genuine. If you find issues with the review, please comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp