Patchset to add asynchronous open/close to master

Jeremy Allison jra at samba.org
Thu Jun 14 11:12:02 MDT 2012


On Thu, Jun 14, 2012 at 08:31:55AM -0400, simo wrote:
> 
> Oh it is not only confusing but really wrong!
> If you open directly you are assuming the fd is a *real* fd, but if the
> share has otherwise a 'database backed file store' (like s3) then you
> are going to get very weird behavior. Even more so if you open with the
> database backend and then  try to close() directly.
> That can't work.
> 
> So if those options are used you must dynamically change all calls on
> that VFS layer from transparent to opaque and not pass onto next
> anything anymore, nor open/close, nor read/writes, basically nothing.
> It must be a full switch of behavior for all VFS calls.
> 
> This is one of the reasons this kind of 'minor feature' should not go in
> 3.6, it has so many side effects it is not even funny.

It's explicitly listed as a non-stackable module, and fixes
issues that otherwise make Samba completely unusable in
some circumstances.

So yeah, OEMs want this in 3.6.x. If you don't like it you
don't have to ship with it.

Jeremy.


More information about the samba-technical mailing list