| Summary: | write-behind enable-trickling-writes working? | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Krishna Srinivas <krishna> |
| Component: | write-behind | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.0.0 | CC: | aavati, gluster-bugs, lakshmipathi, sac |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTP | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Krishna Srinivas
2010-01-19 00:59:23 UTC
Hi,
I have reproduced the issue with gluster 3.0.0 and following are the steps to reproduce the same:
1) A script that writes to stdout at a slowish pace
perl ./te.pl > out
te.pl listing:
use Time::HiRes qw( usleep );
while ( true ) {
print "yes\n";
usleep(500);
}
2) A script that watches the file size:
while true; do VAL=$(/bin/date); OUT=$(ls -lh /mnt/out 2>/dev/null);
echo "$VAL: $OUT"; sleep 10; done
Regards,
Sachidananda.
PATCH: http://patches.gluster.com/patch/2684 in master (write-behind: fix 'option enable-trickling-writes') PATCH: http://patches.gluster.com/patch/2685 in release-2.0 (write-behind: fix 'option enable-trickling-writes') |