Hi dochelp! I'm sorry, but I just ran into another issue I fail to understand... :)
Scenario:Reconnect of second disconnected PH on a file fails if contending open caused a break of the H lease.
Server: Windows 2025, Fileserver for General Use Client: smbtorture CG := Create Guid LK := Lease Key 1. Client 1: open file with PH, lease=RWH, LK=X, CG=Y2. Client 1: another open on the same file with PH, lease=RWH, LK=X, CG=Z (same LK as in 1)
3. Disconnect4. Client 2: content disconnected handles with another open that triggers a break and is suspended
5. Client 1 reconnects 6. Client 1 reconnects first PH 7. Server sends lease break for LK=X to NONE to client 1 8. Client 1 acks lease break9. Client 1 attempts to reconnect second PH but this fails with STATUS_FILE_NOT_AVAILABLE
In my understanding 9 should not fail and in my implementation of PH in Samba it succeeds.
Am I missing anything in the docs why 9 should fail?In my testing with various lease levels and different sharemodes and access masks of the contending open, the pattern seems to be that the second reconnect alway fails if the contending open triggered a H lease break.
Thanks! -slow
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ cifs-protocol mailing list cifs-protocol@lists.samba.org https://lists.samba.org/mailman/listinfo/cifs-protocol