[Bugs] [Bug 1615795] New: Trash xlator do not send the gfid in the dict while recursively creating dirs
bugzilla at redhat.com
bugzilla at redhat.com
Tue Aug 14 09:27:06 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1615795
Bug ID: 1615795
Summary: Trash xlator do not send the gfid in the dict while
recursively creating dirs
Product: GlusterFS
Version: mainline
Component: trash-xlator
Assignee: bugs at gluster.org
Reporter: ksubrahm at redhat.com
CC: bugs at gluster.org
Description of problem:
When trash xlator tries to create directories recursively inside .trashcan as
part of the trash_truncate_mkdir_cbk() function, it does not send the gfid to
be set for the newly created directory in the dictionary. When posix_gfid_set()
function checks for the gfid in the xattr_req dictionary it will not see one
being sent there and will return from there. So when we try to send the
appropriate error if there is no gfid in the dict, the trash_truncate operation
will fail.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
trash xlator should send the gfid xattr value in the dictionary while creating
directories recursively as part of trash_truncate_mkdir_cbk().
Additional info:
--
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