summaryrefslogtreecommitdiffstats
path: root/run-tests-in-vagrant.sh
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2019-07-29 14:08:37 +0530
committerPranith Kumar K <pkarampu@redhat.com>2019-10-30 13:48:19 +0530
commit46e83e48ad37bf5c2a54d3bb5aa6e09d3d0382ff (patch)
tree62b7d9d52c9c9ec2ff458cde3197f62b14a6fe6c /run-tests-in-vagrant.sh
parenteb1e0b17d292c0f7ceda5256da186d96a364b7f6 (diff)
cluster/ec: Fix reopen flags to avoid misbehavior
Problem: when a file needs to be re-opened O_APPEND and O_EXCL flags are not filtered in EC. - O_APPEND should be filtered because EC doesn't send O_APPEND below EC for open to make sure writes happen on the individual fragments instead of at the end of the file. - O_EXCL should be filtered because shd could have created the file so even when file exists open should succeed - O_CREAT should be filtered because open happens with gfid as parameter. So open fop will create just the gfid which will lead to problems. Fix: Filter out these two flags in reopen. Change-Id: Ia280470fcb5188a09caa07bf665a2a94bce23bc4 Fixes: bz#1739450 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'run-tests-in-vagrant.sh')
0 files changed, 0 insertions, 0 deletions