3.3.5.1.2 Granting Oplocks

The server SHOULD grant oplocks according to the process specified in [MS-CIFS] section 3.3.5.2.7, with the following additions:

  • If Server.Share.ShareFlags contains the SHI1005_FLAGS_FORCE_LEVELII_OPLOCK bit as defined in [MS-SRVS] section 2.2.4.29, and the request is for NT_CREATE_REQUEST_OPLOCK or NT_CREATE_REQUEST_OPBATCH oplock, the server SHOULD<108> downgrade the request and grant a level II oplock.