[Bugs] [Bug 1032894] spurious ENOENTs when using libgfapi

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 18 07:57:24 UTC 2015


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

Oleksandr Natalenko <oleksandr at natalenko.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oleksandr at natalenko.name



--- Comment #24 from Oleksandr Natalenko <oleksandr at natalenko.name> ---
Unfortunately, 3.6.1 still has this bug. Here is pseudocode I used to reproduce
it:

===
func thread_1()
{
  glfs_mkdir(path);
  res = glfs_creat(fs, path + "/somefile1", O_CREAT | O_WRONLY | O_TRUNC,
chmod_644);
}

func thread_2()
{
  glfs_mkdir(path);
  res = glfs_creat(fs, path + "/somefile2", O_CREAT | O_WRONLY | O_TRUNC,
chmod_644);
}

func main_thread()
{
  call_thread(thread_1());
  call_thread(thread_2());
}
===

Rarely glfs_creat returns ENOENT even if both glfs_mkdir() report success.

-- 
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=HdwzBvsPIj&a=cc_unsubscribe


More information about the Bugs mailing list