move_pages: Fix and support some specs for LTP.
1. When nodes array is NULL, move_pages doesn't move any pages, instead will return the node where each page currently resides by status array. 2. Check whether all specified node is online or not. Change-Id: Ie3534997833d797e2a9f595d1107b07d46e1c6cf Refs: #1523
This commit is contained in:
committed by
Masamichi Takagi
parent
a0d446b27f
commit
9f39d1cd88
25
test/issues/1523/aarch64_result.log
Normal file
25
test/issues/1523/aarch64_result.log
Normal file
@ -0,0 +1,25 @@
|
||||
mcstop+release.sh ... done
|
||||
mcreboot.sh -c 37-43,49-55 -m 2G@2,2G@3 -r 37-43:36+49-55:48 -O -e anon_on_demand ... done
|
||||
*** C1523T01 start *******************************
|
||||
move_pages01 1 TPASS : pages are present in expected nodes
|
||||
*** C1523T01 PASSED (1)
|
||||
|
||||
*** C1523T02 start *******************************
|
||||
move_pages02 1 TPASS : pages are present in expected nodes
|
||||
*** C1523T02 PASSED (1)
|
||||
|
||||
*** C1523T03 start *******************************
|
||||
move_pages04 1 TPASS : status[1] has expected value
|
||||
*** C1523T03 PASSED (1)
|
||||
|
||||
*** C1523T04 start *******************************
|
||||
move_pages06 1 TPASS : move_pages failed with ENODEV as expected
|
||||
*** C1523T04 PASSED (1)
|
||||
|
||||
*** C1523T05 start *******************************
|
||||
move_pages09 1 TPASS : move_pages succeeded
|
||||
*** C1523T05 PASSED (1)
|
||||
|
||||
*** C1523T06 start *******************************
|
||||
move_pages10 1 TPASS : move_pages failed with EINVAL as expected
|
||||
*** C1523T06 PASSED (1)
|
||||
Reference in New Issue
Block a user