From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([192.55.52.115]:39308 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394221AbfIWRxj (ORCPT ); Mon, 23 Sep 2019 13:53:39 -0400 From: ira.weiny@intel.com Subject: [PATCH V2 01/16] src/locktest: Remove unnecessary sleep Date: Mon, 23 Sep 2019 10:53:21 -0700 Message-Id: <20190923175336.2287-2-ira.weiny@intel.com> In-Reply-To: <20190923175336.2287-1-ira.weiny@intel.com> References: <20190923175336.2287-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: fstests-owner@vger.kernel.org To: fstests@vger.kernel.org, Eryu Guan Cc: john.hubbard@gmail.com, Dave Chinner , Jan Kara , Jason Gunthorpe , dan.j.williams@intel.com, Jeff Layton , Ira Weiny List-ID: From: Ira Weiny There is no need to sleep because we asked for debugging. Remove extra sleep code. Reviewed-by: Jeff Layton Signed-off-by: Ira Weiny --- src/locktest.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/locktest.c b/src/locktest.c index 8e27e922668e..29e914febdf9 100644 --- a/src/locktest.c +++ b/src/locktest.c @@ -69,7 +69,6 @@ extern int h_errno; #define RAND() (rand()) #define SRAND(s) (srand(s)) -#define SLEEP(s) (sleep(s)) #define MIN(A,B) (((A)<(B))?(A):(B)) #define MAX(A,B) (((A)>(B))?(A):(B)) @@ -1037,10 +1036,6 @@ main(int argc, char *argv[]) } } } - if (debug > 1) { - fprintf(stderr, "server sleeping ...\n"); - SLEEP(1); - } if(tests[index][TEST_NUM] != 0) { if(last_test != tests[index][TEST_NUM]) { test_count++; -- 2.20.1