[Bug 206238] FUSE can't enter to DIRECT_IO mode during file create.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 14 20:04:12 UTC 2016


--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:

Author: rmacklem
Date: Sat May 14 20:03:22 UTC 2016
New revision: 299753
URL: https://svnweb.freebsd.org/changeset/base/299753

  Fix fuse to use DIRECT_IO when required.

  When a file is opened write-only and a partial block was written,
  buffered I/O would try and read the whole block in. This would
  result in a hung thread, since there was no open (fuse filehandle)
  that allowed reading. This patch avoids the problem by forcing
  DIRECT_IO for this case.
  It also sets DIRECT_IO when the file system specifies the FN_DIRECTIO
  flag in its reply to the open.

  Tested by:    nishida at asusa.net, freebsd at moosefs.com
  PR:           194293, 206238
  MFC after:    2 weeks


You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-amd64 mailing list