[Bug 81573] file open fails on cifs mount with directio option set

cwillu cwillu at gmail.com
Fri Jan 26 01:58:36 UTC 2007


Public bug reported:

Binary package hint: gedit

Gedit fails on open files located on cifs mounts when mounted with the
directio option.  That particular option is used to disable caching on
the mount so that legacy databases (i.e., dbase) can be accessed and
modified without causing data corruption.

Gedit is otherwise capable of creating and saving files on such a mount
(although it gives 'file may have been modified' warnings), giving rise
to the confusing situation where one can create a file in gedit, close
gedit, and be unable to reopen that file in gedit, even though cat, vim,
openoffice and so forth can all open the file without complaint.

I _think_ this may be related to the mmap behaviour mentioned here:
> gedit (2.13.0-0ubuntu1) dapper; urgency=low
> ...
>    - Reading and writing of files are now handled in an
>      asynchronous way (so the user interface never blocks)
>    - Local files are read using mmap (when possible)
as the directio option apparently breaks mmap.  Nonetheless, most other apps seem to be handling this fine.

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
file open fails on cifs mount with directio option set
https://launchpad.net/bugs/81573




More information about the desktop-bugs mailing list