K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2016-05-28T22:42:56.914438Z K 7 svn:log V 440 MFC: r299753 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. END