[RFC PATCH] smbd: resilient file handle support

Stefan Metzmacher metze at samba.org
Fri Feb 12 13:31:28 UTC 2016


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.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160212/8d329341/signature.sig>


More information about the samba-technical mailing list