diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-05-26 06:08:09 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-26 04:49:00 -0700 |
commit | 6d9b11dba63d86c48450aa956281114962289ef5 (patch) | |
tree | 62ef8d84b7b9cc61a8c686e2dd1feef60539c302 /xlators/meta | |
parent | 1d363d4b7dd5b4dc25892053259ff43f1b4c52c7 (diff) |
performance/write-behind: explicitly enforce ordering of overlapping writes.v3.0.5rc2
- 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/meta')
0 files changed, 0 insertions, 0 deletions