1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00
Ralph Boehme d2f50cad70 smbd: trigger notification for file and directory creation will be sent a wee bit later after dropping the sharemode lock
This will be a common pattern in the upcoming code dealing with Directory Lease
breaks: when checking for Directory Lease breaks on the parent directory, we
take the sharemode lock on the parent and hence by then must have dropped the
sharemode lock on the object that performs the Directory Lease break check. That
functionality will be later added to notify_fname().

This means the notification will be sent a wee bit later, but that's something
the change notification protocol has to live with anyway.

For Directory Leases the sequence to check for Directory Lease breaks is to call
MS-FSA 2.1.4.12 "Algorithm to Check for an Oplock Break" with
flags=PARENT_OBJECT at the end of each relevant operation, eg creating a file
asf, when processing of the operation that will call 2.1.4.12 is already
completed.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-11-05 14:39:30 +00:00
..
2024-11-05 14:39:30 +00:00
2024-04-17 07:57:36 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-11-01 18:55:32 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2024-02-08 02:48:44 +00:00
2020-11-04 18:55:39 +00:00
2024-06-24 16:21:32 +00:00
2023-11-01 18:55:32 +00:00
2024-11-05 14:39:30 +00:00
2023-11-20 15:37:33 +00:00
2023-07-19 09:58:37 +00:00
2024-07-08 07:36:32 +00:00
2022-04-07 17:37:29 +00:00
2024-06-28 13:26:24 +00:00
2023-07-19 09:58:37 +00:00
2024-11-05 14:39:30 +00:00
2023-07-19 09:58:37 +00:00
2023-10-25 22:23:37 +00:00
2024-06-04 07:11:35 +00:00
2022-08-04 20:44:32 +00:00
2024-08-06 16:29:33 +00:00