"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-6.9/tests/basic/afr/afr-no-fsync.t" (23 Apr 2020, 574 Bytes) of package /linux/misc/glusterfs-6.9.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 #Tests that sequential write workload doesn't lead to FSYNCs
    4 . $(dirname $0)/../../include.rc
    5 . $(dirname $0)/../../volume.rc
    7 cleanup;
    9 TEST glusterd
   10 TEST pidof glusterd
   11 TEST $CLI volume create $V0 replica 3 $H0:$B0/brick{0,1,3}
   12 TEST $CLI volume set $V0 features.shard on
   13 TEST $CLI volume set $V0 performance.flush-behind off
   14 TEST $CLI volume start $V0
   15 TEST $CLI volume profile $V0 start
   16 TEST $GFS --volfile-id=$V0 --volfile-server=$H0 $M0;
   17 TEST dd if=/dev/zero of=$M0/a bs=1M count=500
   18 TEST ! "$CLI volume profile $V0 info incremental | grep FSYNC"
   20 cleanup;