summaryrefslogtreecommitdiffstats
path: root/glustolibs-io
diff options
context:
space:
mode:
authorAnees Patel <anepatel@redhat.com>2018-12-17 10:42:48 +0530
committerVijay Avuthu <vavuthu@redhat.com>2018-12-20 10:47:38 +0000
commit9439573ea62f2fe0221f953db21ea7991609d679 (patch)
tree78c02bce1517c37728481cc93d5bff67947e2231 /glustolibs-io
parent34055520c99ae059c838b1bd75b3a96306f893f4 (diff)
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 <anepatel@redhat.com>
Diffstat (limited to 'glustolibs-io')
-rwxr-xr-xglustolibs-io/shared_files/scripts/fd_writes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-io/shared_files/scripts/fd_writes.py b/glustolibs-io/shared_files/scripts/fd_writes.py
index fc92736..0911c3f 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")