diff options
author | Brian Foster <bfoster@redhat.com> | 2012-07-23 09:22:35 -0400 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-25 16:28:02 -0700 |
commit | 22e4e55ecf65764812cfb76cd0b14a40b4161f25 (patch) | |
tree | fa796fa87f96f13ae4b233b60b3fb17e4806c31c /xlators/cluster/afr/src/afr-self-heal-data.c | |
parent | fd2f9c0be1a5e170ca71079b2da2c9f3d64341ae (diff) |
performance/write-behind: detect short writes and pend an EIO error
Write-behind returns write requests immediately and queues the request
in memory for merging, etc. If a write is incomplete, pend an EIO
error for the next fop. This ensures that write failures are not
silent and potentially ignored.
BUG: 809975
Change-Id: I0e0e6c8e710efab58ccfaf746501d00e459eb7ef
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-on: http://review.gluster.com/3712
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
0 files changed, 0 insertions, 0 deletions