[SMB3 POSIX] POSIX client creates a file, set the ARCHIVE bit or not
Tom Talpey
tom at talpey.com
Tue Oct 31 14:29:29 UTC 2023
On 10/31/2023 9:28 AM, Ralph Boehme wrote:
> Hi Tom,
>
> On 10/31/23 13:48, Tom Talpey wrote:
>> On 10/30/2023 2:53 PM, Ralph Boehme wrote:
>>> Otoh, in the case of Samba, storing the DOS attrs in an xattr in the
>>> filesystem is an extra IO syscall.
>>
>> Isn't it even higher overhead for the client to be setting this?
>
> it's not about client initiated setting of DOS attributes, but
> implicitly setting them as part of SMB2-CREATE (and similar protocol
> entry points) processing.
Oops, I forgot to context switch from client to server. :)
I still agree that managing the archive attribute is best left to
the filesystem. Should this be a VFS behavior, perhaps?
Tom.
More information about the samba-technical
mailing list