[Bugs] [Bug 1414608] Weird directory appear when rmdir the directory in disk full condition

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 7 08:18:43 UTC 2017


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



--- Comment #3 from George <george.lian at nokia.com> ---
although I changed afr_rmdir to let return fail even success on one volume. now
it will return fail if one sub volume return failed with noENT, for other
error, still use the old logic.
with this change, the touch weird issue seems gone, but another issue coming,
we find the files in the old weird directory can't sync with heal
automatically.  it meaning with "ls" command, it can't show any files in the
directory, though the files do exist in volume B, while no exist in volume A,
the files do been removed by rmdir command.

after do some investigation, I suppose some file created in disk full condition
with mknod success, but failed with gfid and changelog setting, and heal
mechanism need the information to do auto sync up. now the changelog xattr
element is not exist, so heal can't work at all.

so I suggest in posix translator, how about reserve the heal needed element
space in that phase, if all element can reserved, then create the entry, else
remove the entry at all.

how do you think this suggestion?

Thanks in advance!

-- 
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