[RFC PATCH] smbd: resilient file handle support

Ralph Boehme rb at sernet.de
Fri Feb 12 14:27:45 UTC 2016


On Fri, Feb 12, 2016 at 02:31:28PM +0100, Stefan Metzmacher wrote:
> Hi Uri,
> 
> > I'll dig deeper, but probably you and others in the team can easily tell
> > the right answer.
> 
> Once we have multi-channel support ready, we can implement durable handles
> and resilient handles in a better way and together with using kernel
> oblocks.
> We just let smbd running after the (last) connection gets disconnected
> and wait for the client to reconnect. The client will use the same
> client guid
> and will end up in its old smbd process.
> 
> As we already have a 'fake oplocks', which is very dangerous,
> we can also have a 'fake resilient handles' option in order to
> make the backup application happy. This could be set per client
> via an 'include = /etc/samba/smb.conf.extra.%I' line in smb.conf.
> 
> But I would concentrate on getting multi-channel done and have
> a real implementation for resilient handles.

agree, this makes the most sense to me too.

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba-technical mailing list