Re: [PATCH] tests: use correct RA size, underly dev & delay time.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



a little more info about my patch.
in one of my test env, system default read_ahead size is 1024 sector (512K), 
which bigger than 128k in test case. which causes _set_dev_node_read_ahead() to deny
to set up RA.

On 8/12/20 7:18 PM, Zhao Heming wrote:
> lvconvert-repair-raid.sh:
> - in some env, the delay=0 is too short to set up env.
> 
> lvcreate-usage.sh:
> - use correct underlying dev for brd & loop devices.
> - read ahead size should equal or bigger than current system value
> 
> read-ahead.sh:
> - use current system ra_size PLUS 128 to set up new ra_size.
>    for detail, refer _set_dev_node_read_ahead in libdm-common.c
> 
> Signed-off-by: Zhao Heming <heming.zhao@xxxxxxxx>
> ---
>   test/shell/lvconvert-repair-raid.sh |  2 +-
>   test/shell/lvcreate-usage.sh        | 11 ++++++-----
>   test/shell/read-ahead.sh            |  6 ++++--
>   3 files changed, 11 insertions(+), 8 deletions(-)
> 

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux