Age | Commit message (Collapse) | Author | Files | Lines |
|
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.
metze
(This used to be commit b09dd6b65d533832a025a51509dcc84f84b048aa)
|
|
metze
(This used to be commit b781bb733c9a563457f87c94abe8c91b426c07ee)
|
|
metze
(This used to be commit 60c4a4fc1afe88716ac63d3ea430e07fea7b9991)
|
|
(This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
|
|
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
|
|
Conflicts:
source/ntvfs/ntvfs_generic.c
(This used to be commit a626a9c69cb2c07c8de69dcfe45361f86d6de58d)
|
|
metze
(This used to be commit 9013748273378f88bfc66d3583814f0fee67c40f)
|
|
(This used to be commit 1da0063bd5fd18ad3ac7a07c985ec6be380486e2)
|
|
(This used to be commit a95a71fe45ef6a578569931a7c38061783d07db3)
|
|
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
|
|
(This used to be commit 2823fca23a4cacc996c808f22cba50b4482b5921)
|
|
(This used to be commit e891157b4ec7b2f845fb20c4106d80bf169f2072)
|
|
the status field is sent on both call and reply, but was only being
initialised on reply
(This used to be commit 2ebd7b80998775168959d511fbc987f8b5b7bd34)
|
|
the 'reserved' field was not being initialised before being pushed to
the wire
(This used to be commit dfe4b5009885c4eeca24569f35b9fc85bfe6346b)
|
|
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
|
|
(This used to be commit 9d3d64e1387e9f20383c255bba27128cf4b9519e)
|
|
altogether.
(This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
|
|
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
|
|
(This used to be commit ac5e5fee1db2999053dee82d1fcf97ca8799c9b5)
|
|
(This used to be commit 2908a77fa5c32e92665775a5785345f704202f0a)
|
|
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
Andrew Bartlett
(This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
|
|
This even goes via the share options system (a very odd layer of indirection).
Andrew Bartlett
(This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
|
|
Otherwise we may not clean up in the destructor.
metze
(This used to be commit 218ec98a1694080748d1ac12baa90ffcda364833)
|
|
Otherwise they're not cleaned up when the request is finished.
metze
(This used to be commit 055760f0f4aadd2079b0a4999b59ac3dbe5edf8a)
|
|
We would setup multiple retries per client request.
metze
(This used to be commit 951764e28407a53ea4dd39d34388fab1b2259785)
|
|
In case a unix application as an oplock or share mode on
a file we need to retry periodicly as there's no way
to get a notification from the kernel when the oplock
is released.
metze
(This used to be commit 4d40f3a02643b4cdacee31f0b7bc9fc77cc9869a)
|
|
metze
(This used to be commit eeb0b8c349552517b521f1b8d7d9341e0ef630f2)
|
|
metze
(This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
|
|
metze
(This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
|
|
metze
(This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
|
|
metze
(This used to be commit 80f5f9362100b971fa12ffee33705b745131770e)
|
|
This prepares kernel oplock support.
metze
(This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
|
|
metze
(This used to be commit b43f1a53dd185cc51a3fb8a18e311abb77c2a7c9)
|
|
metze
(This used to be commit 40563583f7ef3d8d1a3426c6c12eaecd18af215c)
|
|
metze
(This used to be commit 6dc280731d071681b635a2f091be2b153a902080)
|
|
That means we only have to parse the record once
and as the tdb record is locked the in memory copy
is always the same as the one in the tdb.
metze
(This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)
|
|
Otherwise this variable would never change its value...
metze
(This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
|
|
metze
(This used to be commit 5fdca988c687f58fe2fddd3c8eff5f461207065b)
|
|
Now there's only odb_can_open() which handles the
share_access rules.
And odb_open_file() only adds the new opendb_entry into the
database and calculates the granted oplock level.
metze
(This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
|
|
odb_open_file() will later change to not redo the logic of
odb_can_open().
metze
(This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)
|
|
odb_oplock_break_send()
metze
(This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)
|
|
metze
(This used to be commit a63910e8e5c075aff45b8eb0d246d2823f09bb9c)
|
|
metze
(This used to be commit 7c9b269b0742d435055e21f7e6cc945c21c7e332)
|
|
Not all clients support a fallback to level II oplocks.
metze
(This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
|
|
metze
(This used to be commit 5563238782e825f64a22b5f9e0a7deb687f50b19)
|
|
Note that we don't use any protocol specific values here.
For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined
others should be defined, when we find out that the ntvfs
layer needs to know about it.
metze
(This used to be commit cc42cd5f6753ca582677fa6f403f0419eec5ab10)
|
|
Remember that we sent an oplock break to
a client and don't resend. If the filesystem
layer tries to send a new break and the client
has not released after a former oplock break
after the timeout interval, we need to auto release
the oplock.
metze
(This used to be commit bfb0888578677856b2b6b72471f542d0d5d7b838)
|
|
It seems that I've tested this in the wrong way before.
metze
(This used to be commit 21772fa33d772a9df6ff04a0ed1b0d8f4f533295)
|