From 9439573ea62f2fe0221f953db21ea7991609d679 Mon Sep 17 00:00:00 2001 From: Anees Patel Date: Mon, 17 Dec 2018 10:42:48 +0530 Subject: Per BZ 1401969, modifying the IO pattern to write single large files When eager-lock is on, and two writes happen in parallel on a FD, Arbiter becoming source of heal is observed, hence modifing the IO pattern, Also this is a race-condition, hence executing the same remove-brick cycle thrice per BZ 1401969, this patch also takes care of multiple clients writing to different files/dirs, no two clients writing to same file Change-Id: If0003afb675bbcf9f6b555b43e9a11e4def5435c Signed-off-by: Anees Patel --- glustolibs-io/shared_files/scripts/fd_writes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glustolibs-io') diff --git a/glustolibs-io/shared_files/scripts/fd_writes.py b/glustolibs-io/shared_files/scripts/fd_writes.py index fc9273633..0911c3f11 100755 --- a/glustolibs-io/shared_files/scripts/fd_writes.py +++ b/glustolibs-io/shared_files/scripts/fd_writes.py @@ -234,7 +234,7 @@ if __name__ == "__main__": dest='log_level', action="store", default="INFO") - parser.add_argument('dir', metavar='DIR', type=str, + parser.add_argument('--dir', metavar='DIR', type=str, help="Directory on which operations has " "to be performed") -- cgit