NFS4 data corruption (client side)
When writing to a file, from time to time some data don't make it to the server. Instead, a hole is left in the file. If the file is opened with O_APPEND, the file pointer jumps back instead and overwrites data.
It only occurs when the file is written with medium speed and the server reacts slow from time to time. A small C-program to reproduce the problem is attached.
The problem is basically that the client accepts r_size updates even though it has outstanding writes.
Webrev to follow.
Updated by Gordon Ross over 8 years ago
- Status changed from New to Resolved
From aea676fd5203d93bed37515d4f405d6a31c21509 Mon Sep 17 00:00:00 2001 From: Arne Jansen <firstname.lastname@example.org> Date: Wed, 30 Jan 2013 13:18:22 +0100 Subject: [PATCH] 3508 NFS4 data corruption (client side) Reviewed by: Marcel Telka <email@example.com> Reviewed by: Robert Gordon <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>