Bug 1164768
Summary: | Write strings to a file by O_APPEND mode (echo "strings" >> /mountpoint/file.txt) is abnormal | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | jiademing.dd <iesool> |
Component: | disperse | Assignee: | Xavi Hernandez <jahernan> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.0 | CC: | bugs, gluster-bugs, jahernan |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-18 08:26:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jiademing.dd
2014-11-17 11:45:37 UTC
I tried flags &= O_APPEND in ec_open(), then "echo 'AAAAAAAAAAAAAA' >> /mountpoint/file.txt", and read file.txt is OK. In my opinion, like this relationship between offset and blocks in glusterfs, for example encryption/crypt, we should remove the O_APPEND flags that come frome users. This bug is a duplicate of bug #1161885. The patch is already posted for review, but it's not merged yet. You can review it at: http://review.gluster.org/9079/ (for master) and http://review.gluster.org/9080/ (for 3.6) *** This bug has been marked as a duplicate of bug 1161885 *** Ok, I got it, caused by O_APPEND flag. (In reply to Xavier Hernandez from comment #3) > > *** This bug has been marked as a duplicate of bug 1161885 *** |