[Bugs] [Bug 1164768] Write strings to a file by O_APPEND mode (echo "strings" >> /mountpoint/file.txt) is abnormal

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 18 03:24:06 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1164768



--- Comment #1 from jiademing <jiademing.dd at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list