Age | Commit message (Collapse) | Author | Files | Lines |
|
metze
|
|
|
|
|
|
metze
(This used to be commit 3c6cadf76861d6522c5ec41953df1ba2fac4910d)
|
|
(This used to be commit 4f6646f06988b1fb8be9e0c8ae833bb9792184af)
|
|
Also in particular the 'sync' flags (which Samba has traditionally
ignored).
Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out
more flags that needed to be handled.
Andrew Bartlett
(This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
|
|
The MS-SMB document explains that some of these options should be
ignored. The test proves it.
/* Must be ignored by the server, per MS-SMB 2.2.8 */
/* Must be ignored by the server, per MS-SMB 2.2.8 */
If we implement HSM in samba4 (likely) we should honour this bit.
/* Don't pull this file off tape in a HSM system */
Andrew Bartlett
(This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
|
|
Note: that libreplace always provides utimes()
metze
(This used to be commit 61bad69e2d7f84e2c6d6fb82917cfa86b17f54b0)
|
|
metze
(This used to be commit 7f033ce4fb6fc897f8159926d5a6d2e45dd447b6)
|
|
metze
(This used to be commit 58c118ab4d2b76c4ea68d79b711b81900634f767)
|
|
By default get the current write time from the opendb,
but allow callers to pass PVFS_RESOLVE_NO_OPENDB
for performance reasons, if they don't need to the write time.
metze
(This used to be commit def52cc0988c26a815e74b3391e5857512408d90)
|
|
metze
(This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
|
|
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
|
|
(This used to be commit 884c32fcef48244bd260026a61790332bd706eb4)
|
|
Not all of them are honoured yet, but they are all parsed and the ones
that have SMB equivalents are honoured
(This used to be commit 9fc70e2ed6a54f6d9a0530f4d37c0f8acadb6778)
|
|
(This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
|
|
(This used to be commit 2ac27bfffa557d6c0f71c443b43a8d1967edb177)
|
|
(This used to be commit 897f4582bee72e319874e8a2d064ba442415571d)
|
|
(This used to be commit 8c263f91bda97eb910c8589b6cd987ec4a62d770)
|
|
(This used to be commit 067f1271adaa13d537bbc92b19fe8d633cbaaf50)
|
|
(This used to be commit dcdaa9f5fd9150b16fb277213e864e5c39d831d6)
|
|
(This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
|
|
metze
(This used to be commit 1421b1cc0c442be839be702647009ed5295f34a3)
|
|
(This used to be commit dd21e3d9d788a67d4673625ed4892a875f4600dc)
|
|
file or a directory
(This used to be commit c05b58940f06b01b9770c218eb0708cb621215ef)
|
|
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.
metze
(This used to be commit b09dd6b65d533832a025a51509dcc84f84b048aa)
|
|
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)
|
|
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 80f5f9362100b971fa12ffee33705b745131770e)
|
|
metze
(This used to be commit 5fdca988c687f58fe2fddd3c8eff5f461207065b)
|
|
odb_open_file() will later change to not redo the logic of
odb_can_open().
metze
(This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)
|
|
metze
(This used to be commit 7c9b269b0742d435055e21f7e6cc945c21c7e332)
|
|
metze
(This used to be commit 5563238782e825f64a22b5f9e0a7deb687f50b19)
|
|
metze
(This used to be commit 587373b97b95a8e562c3a5a59a62abade4dfed2f)
|
|
metze
(This used to be commit 608e5cd881d64b8db9146dfc4b3a1778a93a0f8e)
|
|
metze
(This used to be commit 73f12be7c6a648d4d5336328a340510ac7b1d6de)
|
|
metze
(This used to be commit c78451ce0618de92321430d2b50f9a8172d283f4)
|
|
You just need SEC_FILE_WRITE_ATTRIBUTE to change
the filesize...
metze
(This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)
|
|
metze
(This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
|
|
As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here.
metze
(This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)
|
|
TODO: this is not complete, we need more tests to trigger this
metze
(This used to be commit 66ad1081f2be8a0caa16fb0d614b857a5bde751c)
|
|
metze
(This used to be commit 746e89ce2e74dbd2cea8f5575c403e4c61f82cb8)
|
|
This is needed to receive oplock breaks from other "processes"
metze
(This used to be commit dd56f55afdc0d114a0b0bceb0e4feb022919323a)
|
|
metze
(This used to be commit 56bd63a4236ebf360d3e805c8560df86759573f7)
|
|
metze
(This used to be commit 904159327b3cb80fbec6aa5a4feaa141190a3f3a)
|
|
metze
(This used to be commit 46500983fe2f63540a67e2e963ab264fa8a090d0)
|
|
And also handle NULL for lckp in the error path
without crashing.
metze
(This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)
|
|
pvfs_can_delete/rename()
If the caller asks for the odb_lock return it
also if we return NT_STATUS_SHARING_VIOLATION
or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller
can add the pending notification.
metze
(This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)
|