File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ test() {
2121 local io_size_kb block_size
2222 local iops=256
2323
24- page_size=$( getconf PAGE_SIZE )
24+ page_size=$( _get_page_size )
2525
2626 if ! _set_up_throtl --sector_size " ${page_size} " ; then
2727 return 1;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ test() {
1818 echo " Running ${TEST_NAME} "
1919
2020 local page_size
21- page_size=$( getconf PAGE_SIZE )
21+ page_size=$( _get_page_size )
2222
2323 if ! _set_up_throtl --sector_size " ${page_size} " ; then
2424 return 1;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ test() {
1919 echo " Running ${TEST_NAME} "
2020
2121 local page_size
22- page_size=$( getconf PAGE_SIZE )
22+ page_size=$( _get_page_size )
2323
2424 if ! _set_up_throtl --sector_size " ${page_size} " ; then
2525 return 1;
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ requires() {
2323 _have_driver f2fs
2424 _have_driver null_blk
2525 _have_program fscrypt
26- _have_program getconf
2726 _have_program mkfs.f2fs
2827 for o in BLK_INLINE_ENCRYPTION_FALLBACK FS_ENCRYPTION_INLINE_CRYPT; do
2928 if ! _check_kernel_option " $o " ; then
@@ -112,7 +111,7 @@ run_test() {
112111 local bio_max_vecs=256
113112
114113 local page_size
115- page_size=$( getconf PAGE_SIZE )
114+ page_size=$( _get_page_size )
116115
117116 # In bytes.
118117 local max_inl_encr_bio_size=$(( bio_max_vecs * page_size))
You can’t perform that action at this time.
0 commit comments