summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-05-26 04:11:22 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-26 04:40:09 -0700
commite46c613364cd90f9c277db8b0733a99fc1d255de (patch)
tree2ec36624f8a757973448a4ec82236ffb0ec4fbe3 /xlators/protocol/server
parent4d195fb92fed43ab7ca9d1568432913e4dbeef0e (diff)
performance/write-behind: explicitly enforce ordering of overlapping writes.
- If there are non-contiguous offsets (offsets which do not start where previous write ended), wait for completion of previous writes to server before sending new ones. - Send flush call to server only when all writes are completed. - If a file is opened with O_APPEND, at any point of time a maximum only one write call to server should be in transit. This is to avoid reordering of writes in the presence of afr which can result in data corruption. See bug #934 for more details. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 934 (md5sum mismatch when files are transferred using vsftpd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=934
Diffstat (limited to 'xlators/protocol/server')
0 files changed, 0 insertions, 0 deletions