From cefdd02776d204744a13215029f1c3fe024283e4 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Fri, 2 Nov 2018 09:08:42 +0530 Subject: ctime: Enable ctime feature by default This patch does following. 1. Enable ctime feature by default. 2. Earlier, to enable the ctime feature, two options needed to be enabled a. gluster vol set utime on b. gluster vol set ctime on This is inconvenient from the usability point of view. Hence changed it to following single option a. gluster vol set ctime on fixes: bz#1624724 Change-Id: I04af0e5de1ea6126c58a06ba8a26e22f9f06344e Signed-off-by: Kotresh HR --- tests/basic/ctime/ctime-glfs-init.t | 2 -- tests/basic/ctime/ctime-heal-symlinks.t | 4 ---- tests/basic/ctime/ctime-noatime.t | 2 -- 3 files changed, 8 deletions(-) (limited to 'tests/basic/ctime') diff --git a/tests/basic/ctime/ctime-glfs-init.t b/tests/basic/ctime/ctime-glfs-init.t index 0ecd80c2680..56d7d6caee0 100644 --- a/tests/basic/ctime/ctime-glfs-init.t +++ b/tests/basic/ctime/ctime-glfs-init.t @@ -9,8 +9,6 @@ TEST glusterd TEST $CLI volume create $V0 replica 3 ${H0}:$B0/brick{1,2,3}; TEST $CLI volume set $V0 performance.stat-prefetch off -TEST $CLI volume set $V0 ctime on -TEST $CLI volume set $V0 utime on TEST $CLI volume start $V0; logdir=`gluster --print-logdir` diff --git a/tests/basic/ctime/ctime-heal-symlinks.t b/tests/basic/ctime/ctime-heal-symlinks.t index 3922b12546d..547b1807e94 100644 --- a/tests/basic/ctime/ctime-heal-symlinks.t +++ b/tests/basic/ctime/ctime-heal-symlinks.t @@ -9,8 +9,6 @@ TEST glusterd TEST pidof glusterd TEST $CLI volume create $V0 replica 3 $H0:$B0/${V0}{0,1,2} TEST $CLI volume set $V0 performance.stat-prefetch off -TEST $CLI volume set $V0 ctime on -TEST $CLI volume set $V0 utime on TEST $CLI volume start $V0 TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 --entry-timeout=0 $M0; @@ -38,8 +36,6 @@ TEST glusterd TEST pidof glusterd TEST $CLI volume create $V0 disperse 3 redundancy 1 $H0:$B0/${V0}{0,1,2} TEST $CLI volume set $V0 performance.stat-prefetch off -TEST $CLI volume set $V0 ctime on -TEST $CLI volume set $V0 utime on TEST $CLI volume start $V0 TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 --entry-timeout=0 $M0; diff --git a/tests/basic/ctime/ctime-noatime.t b/tests/basic/ctime/ctime-noatime.t index d71528c566c..609ccbd72c1 100644 --- a/tests/basic/ctime/ctime-noatime.t +++ b/tests/basic/ctime/ctime-noatime.t @@ -28,8 +28,6 @@ TEST $CLI volume set $V0 performance.open-behind off TEST $CLI volume set $V0 performance.write-behind off TEST $CLI volume set $V0 performance.io-cache off -TEST $CLI volume set $V0 utime on -TEST $CLI volume set $V0 ctime on TEST $CLI volume start $V0 TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 --entry-timeout=0 $M0; -- cgit