[Samba] How samba guarantee close-to-open consistency?
Ralph Boehme
slow at samba.org
Tue Jul 5 06:28:28 UTC 2022
On 6/29/22 12:09, jie wang wrote:
> Thanks the reply, I'm interested in the DOS attributes, how can we avoid
> storing an xattr ?
>
> "Another question would be which metadata your shooting for? stat info?
> DOS attributes? For the latter we have some design ideas to avoid the
> need to store an xattr with the DOS attributes for the default case."
map the DOS archive bit to the statx STATX_ATTR_NODUMP attribute, use
stx_btime for the creation date. This enables to store all relevant
metadata in the filesystem, avoiding the xattr, for the default case of
a file without additional metadata or changes to stx_btime.
-slow
--
Ralph Boehme, Samba Team https://samba.org/
SerNet Samba Team Lead https://sernet.de/en/team-samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20220705/38883118/OpenPGP_signature.sig>
More information about the samba
mailing list