[Bugs] [Bug 1655578] Incorrect usage of local->fd in afr_open_ftruncate_cbk
bugzilla at redhat.com
bugzilla at redhat.com
Wed Dec 26 07:25:44 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1655578
Soumya Koduri <skoduri at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(skoduri at redhat.co |
|m) |
--- Comment #10 from Soumya Koduri <skoduri at redhat.com> ---
Hi Anees,
The issue is that when afr receives a OPEN request with O_TRUNC flag set, while
sending response back to upper xlators, its sending a NULL pointer instead of
valid fd. So this will result in either crash (if those upper xlators try to
access that NULL pointer) or error messages in log file (for .eg., like
reported in https://bugzilla.redhat.com/show_bug.cgi?id=1642488#c0)
Here are few cases where I observed this issue.
1) Export a volume via nfs-ganesha and try to write to a file or perform
truncate operation
2) Write a simple gfapi program (will attach in the bug) and execute it
against the replicate volume created
3) Few upstream users also reported this issue -
https://bugzilla.redhat.com/show_bug.cgi?id=1642488#c4
And I observed that above cases shall log a error message in case of dist-rep
volume, whereas for 1*3 volume, the client process shall crash.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bugs
mailing list