[PATCH]: Windows BRL Try 2

Jeremy Allison jra at samba.org
Wed Feb 18 18:24:41 MST 2009


On Thu, Feb 19, 2009 at 02:10:10AM +0100, Volker Lendecke wrote:
> On Wed, Feb 18, 2009 at 05:01:18PM -0800, Jeremy Allison wrote:
> > So where are you thinking of making the async logic ?
> > For lockingX, currently it would be easier to do as I
> > suggest and make the async point the SMB_VFS_BRL_LOCK_WINDOWS
> > call, and use similar logic to the open deferred code.
> 
> Essentially create a do_lock_send/recv() pair.

So you want to do this at the point where
we currently call do_lock() ?

> Well, the named pipe code already has it, that's the easy
> example... Now for the more fun stuff :-)

I'll take a look (unless you or Zack do it first).
I think the VFS op needs to be async though, to
cope with underlying filesystems that can do 
callbacks.

Jeremy.


More information about the samba-technical mailing list