summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-06-18 02:18:02 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-02 04:44:46 -0700
commit3dc79ca8e6119f5ff61058cc87f9a4fc251017ef (patch)
treebc19de662216017cc8d8d5ab5d06d5972de812c4 /libglusterfs/src/event.c
parent01923eed1115e53c5be9fba3e72f75c7c631bf95 (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: 970 (extracting kernel tarball hangs midway.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=970
Diffstat (limited to 'libglusterfs/src/event.c')
0 files changed, 0 insertions, 0 deletions