X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fmpi%2Fcascading_rw.c;h=08b48e8a76e7ef61500f7720cb274adeddf7b5fc;hp=fe91c202070f4ac611ecd01032fca2f775874e1f;hb=ecea0c8776ea2d085e35198d13ea41c4fbf49a8e;hpb=7d649777daf616ae2b8ff7f8377f6dca71a5d956;ds=inline diff --git a/lustre/tests/mpi/cascading_rw.c b/lustre/tests/mpi/cascading_rw.c index fe91c20..08b48e8 100644 --- a/lustre/tests/mpi/cascading_rw.c +++ b/lustre/tests/mpi/cascading_rw.c @@ -68,7 +68,6 @@ char *testdir = NULL; void rw_file(char *name, long stride, unsigned int seed) { char filename[MAX_FILENAME_LEN]; - char path[MAX_FILENAME_LEN]; char errmsg[MAX_FILENAME_LEN+20]; char *buf, *o_buf; struct lov_user_md lum = {0}; @@ -103,13 +102,6 @@ void rw_file(char *name, long stride, unsigned int seed) sprintf(errmsg, "close of file %s", filename); FAIL(errmsg); } - - strncpy(path, filename, MAX_FILENAME_LEN); - rc = llapi_file_get_stripe(path, &lum); - if (rc == -1) { - sprintf(errmsg, "get stripe of file %s", filename); - FAIL(errmsg); - } } MPI_Barrier(MPI_COMM_WORLD);