> On 01/ 7/10 03:22 AM, Thomas Løcke wrote:
> > Hey all,
> >
> > I've run into a bit of a show-stopper:
> >
> >
> http://defect.opensolaris.org/bz/show_bug.cgi?id=12831
> >
> http://www.openoffice.org/issues/show_bug.cgi?id=10497
> 4
> >
> > Anybody know if this will be fixed in OpenSolaris
> 2010.xx?
> >
> > When I say "fixed", I mean either a fixed version
> of smbfs that can handle mmap, and/or an OpenOffice
> package with a fallback patched in, for situations
> where mmap is not supported.
> 
> I wouldn't expect an ON fix for the mmap bit, but if
> there's a new 
> version of OpenOffice that will have the fix, that
> will be put into the 
> repository at some point soon I would guess.
> 
> -- 
> Shawn Walker


Hmm...there are _lots_ of programs that use mmap, not all of which have a 
fallback
to use read/write.  (Even "cat" can use mmap, although since it's meant to read
anything, even a serial line for example, it can certainly work around mmap not 
working.)

A very big example that occurs to me is that ld.so.1 almost certainly uses 
mmap, which
suggests that executables and/or shared libraries accessed via an smbfs mount 
might
be a problem.

How it is now is perhaps kind of sort of good enough for "document" sharing and 
the
like...except oops, the first app (of an unknown number probably larger than 
one)
people are complaining about not working is OpenOffice!  So maybe it's _not_ 
good enough
if it now becomes the responsibility of the apps to work around a filesystem 
limitation
which doesn't exist with most other filesystems of otherwise comparable 
functionality.

Is it a big design problem sort of thing, or just not implemented (yet)?  I can 
think of
cases where that could get dicey (IIRC, can't use both file locking and mmap on 
same file
over NFS for example, presumably because mmap implies local page cache and file
locking implies _no_ local page cache, or something roughly like that).  OTOH, 
it is
definitely possible to do, because other implementations can support mmap from 
an
smb server (I just tried with my Mac, mounting an SMB share from oddly enough a
Solaris server, and running a program on the Mac that would mmap a file; worked 
just fine).

Making the app work around an OS limitation just doesn't feel right to me...
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to