[Bugs] [Bug 762766] rename() is not atomic

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 25 21:38:03 UTC 2014


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

Anand Avati <aavati at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aavati at redhat.com



--- Comment #21 from Anand Avati <aavati at redhat.com> ---
Several changes are needed for the test program to work

1. FUSE needs to send open intent along with lookup, if the lookup is being
performed for an open()

2. Gluster needs to somehow use the intent flag, and keep the server side inode
"alive" (as if already opened) for some time for a future actual open's
guaranteed success even in the event of the file getting unlink'ed or rename'd
over.

3. Server side resolver must serialize over dentries to fix the lookup/open +
unlink race.

1 and 2 are somewhat related, 3 fixes a separate issue. all fixes are needed
for this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=7iRq5KUn3Q&a=cc_unsubscribe


More information about the Bugs mailing list