summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* pvfs_open: pass down an access mask to pvfs_can_update_file_size()Stefan Metzmacher2008-02-261-3/+13
| | | | | | | | You just need SEC_FILE_WRITE_ATTRIBUTE to change the filesize... metze (This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)
* pvfs_qfileinfo: down discard the return value of pvfs_can_stat()Stefan Metzmacher2008-02-261-1/+1
| | | | | | | | The odb_can_open() code returns DELETE_PENDING if a delete is really pending. metze (This used to be commit 066ba3c7cfff12cb0b5298fc45eabb5fc097d056)
* pvfs_open: pass down an access mask in pvfs_can_stat()Stefan Metzmacher2008-02-261-1/+1
| | | | | metze (This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
* pvfs_open: pass NTCREATEX_DISP_OPEN to odb_can_open()Stefan Metzmacher2008-02-261-4/+4
| | | | | | | As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here. metze (This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)
* Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.Michael Adam2008-02-261-5/+5
| | | | | Michael (This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)
* BASE-DEFER_OPEN: be less strict with to late responsesStefan Metzmacher2008-02-261-1/+1
| | | | | | | The server might be just busy. metze (This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)
* selftest: Samba4 passes all oplocks tests nowStefan Metzmacher2008-02-263-5/+6
| | | | | | | | | The support for oplocks is not completely finished I believe we will not pass some non existing test. But it's a good start. metze (This used to be commit 278eea57fa9f59908672c935187f942e7780f0aa)
* pvfs_setpathinfo: retry setpathinfo after oplock not granted on on ↵Stefan Metzmacher2008-02-261-0/+107
| | | | | | | setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO metze (This used to be commit 4e27ac8c529d5a1675fb02215191a2be7913ec97)
* pvfs_open: add pvfs_can_update_file_size()Stefan Metzmacher2008-02-261-0/+62
| | | | | | | TODO: this is not complete, we need more tests to trigger this metze (This used to be commit 66ad1081f2be8a0caa16fb0d614b857a5bde751c)
* pvfs_unlink: retry unlink after oplock not grantedStefan Metzmacher2008-02-262-7/+113
| | | | | metze (This used to be commit 746e89ce2e74dbd2cea8f5575c403e4c61f82cb8)
* pvfs: add posix:oplocktimeout=30 optionStefan Metzmacher2008-02-262-2/+11
| | | | | metze (This used to be commit 5abc57ddab558c13db3864d13afc2ad3b1641d1c)
* pvfs_setfileinfo: break level2 oplocks on setfileinfo() ALLOCATION_INFO and ↵Stefan Metzmacher2008-02-261-0/+6
| | | | | | | END_OF_FILE_INFO metze (This used to be commit b258f9d8d4bf3606f4884d1bff548f16dadc08aa)
* pvfs: send oplock breaks to none to level2 holders on write/lock requestsStefan Metzmacher2008-02-262-1/+7
| | | | | metze (This used to be commit b8c42a1ff8fd4131ef2a1ad92a7405a2e4d335d3)
* pvfs_oplocks: add pvfs_break_level2_oplocks()Stefan Metzmacher2008-02-261-0/+39
| | | | | metze (This used to be commit e0837238b6b09143970f03b6a78201c3fe55f3cd)
* pvfs: handle oplock releases in its own function pvfs_oplock_release()Stefan Metzmacher2008-02-262-7/+68
| | | | | metze (This used to be commit 27ec7bfc8b7f46c97e6878caf5cd694c517ce053)
* pvfs_open: call pvfs_setup_oplock() if an oplock was grantedStefan Metzmacher2008-02-262-3/+27
| | | | | | | This is needed to receive oplock breaks from other "processes" metze (This used to be commit dd56f55afdc0d114a0b0bceb0e4feb022919323a)
* pvfs: add pvfs_setup_oplock() to receive oplock breaks and pass them to the ↵Stefan Metzmacher2008-02-262-0/+137
| | | | | | | client metze (This used to be commit b09a2b126723bd75afd245f549703a04e512e129)
* pvfs_open: make the retry logic indepdendent from open and sharing violationsStefan Metzmacher2008-02-262-50/+104
| | | | | metze (This used to be commit 56bd63a4236ebf360d3e805c8560df86759573f7)
* pvfs_open: fix odb_can_open() callers after prototype changeStefan Metzmacher2008-02-261-16/+35
| | | | | metze (This used to be commit 904159327b3cb80fbec6aa5a4feaa141190a3f3a)
* opendb: unify the parameters of odb_open_file() and odb_can_open()Stefan Metzmacher2008-02-264-18/+15
| | | | | metze (This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)
* pvfs_open: pass down open_disposition and break_to_none to odb_open_file()Stefan Metzmacher2008-02-261-8/+12
| | | | | metze (This used to be commit 46500983fe2f63540a67e2e963ab264fa8a090d0)
* opendb: pass down open_disposition and break_to_none to odb_open_file()Stefan Metzmacher2008-02-264-18/+21
| | | | | metze (This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)
* pvfs_setfileinfo_rename: map DELETE_PENDING to ACCESS_DENIEDStefan Metzmacher2008-02-261-0/+3
| | | | | | | This is needed as odb_can_open/pvfs_can_delete changed the return value. metze (This used to be commit 1ba0b9a8f1f84c7c949b3d184843462b87446707)
* opendb_tdb: only file->delete_on_close == true should give DELETE_PENDINGStefan Metzmacher2008-02-261-2/+5
| | | | | metze (This used to be commit 5b12157e0f0f1cf6ea90503a72b56ab2032cb6e5)
* opendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()Stefan Metzmacher2008-02-261-89/+102
| | | | | metze (This used to be commit 65cfe71b2617598f8e38d04537cfc9ce44a36680)
* opendb_tdb: add force break to none logicStefan Metzmacher2008-02-261-2/+7
| | | | | metze (This used to be commit fbfe953ba347a902297bd8eae900ca70efd2db01)
* opendb_tdb: attribute only opens doesn't conflict with BATCH oplocksStefan Metzmacher2008-02-261-2/+35
| | | | | metze (This used to be commit 7872b05abe7532676c4cc25620b96ea5d59117d2)
* opendb_tdb: grant level2 oplocksStefan Metzmacher2008-02-261-9/+23
| | | | | metze (This used to be commit 57f1b9d11cfcac3b5fdee1ad9e4ba81d0859c8dc)
* opendb: add odb_break_oplocks() functionStefan Metzmacher2008-02-264-2/+57
| | | | | | | This send breaks to none to all level2 holders metze (This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)
* Update homepages for talloc, tdb and ldb subprojectsSimo Sorce2008-02-253-34/+24
| | | | (This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
* opendb: add odb_update_oplock() callStefan Metzmacher2008-02-254-3/+66
| | | | | metze (This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
* opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAKStefan Metzmacher2008-02-252-5/+27
| | | | | metze (This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
* opendb: add odb_get_key() function to get the key back from a struct odb_lockStefan Metzmacher2008-02-254-0/+23
| | | | | metze (This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
* pvfs_unlink: move stream logic into pvfs_unlink_one()Stefan Metzmacher2008-02-251-34/+8
| | | | | metze (This used to be commit 438032e12f3040fbb58488ca537e4d8da39b6124)
* pvfs_unlink: splitup the logic into generic and file specific functionsStefan Metzmacher2008-02-251-17/+28
| | | | | metze (This used to be commit 7572afdc2635bdf9afbe1eda3c7498d0b5201db3)
* pvfs_unlink: add a fast path for the non wildcard caseStefan Metzmacher2008-02-251-0/+4
| | | | | metze (This used to be commit 83e6c99f78990b6b1df520bdee14b9f931ad0420)
* pvfs_unlink: move !name->stream_exists into the callerStefan Metzmacher2008-02-251-4/+4
| | | | | metze (This used to be commit e01554e1617dc3c08a4ed6b4e016fd627f529ef9)
* pvfs_unlink: pass down union smb_unlink completely to sub functionsStefan Metzmacher2008-02-251-8/+10
| | | | | metze (This used to be commit 8301189e94be850494482e8c064b2400a5d11157)
* pvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()Stefan Metzmacher2008-02-251-16/+14
| | | | | metze (This used to be commit 43ec7fa2d898ce306557ea9092b6412bcc2f97ec)
* pvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()Stefan Metzmacher2008-02-251-4/+12
| | | | | | | | And also handle NULL for lckp in the error path without crashing. metze (This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)
* pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in ↵Stefan Metzmacher2008-02-251-2/+26
| | | | | | | | | | | | 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)
* pvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the callerStefan Metzmacher2008-02-253-12/+9
| | | | | metze (This used to be commit e585e2306334bd919f567f53d8d08903dfdfb102)
* pvfs_wait: use struct pvfs_wait * instead of void *Stefan Metzmacher2008-02-255-11/+15
| | | | | metze (This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
* pvfs_wait: 'private' -> 'private_data' and use talloc_get_type()Stefan Metzmacher2008-02-251-11/+16
| | | | | metze (This used to be commit 16a7d0cc37614fc41245fdcdf3b5a4a4a421f31d)
* RAW-OPLOCK: remove unused varStefan Metzmacher2008-02-251-2/+1
| | | | (This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)
* RAW-OPLOCK: fix typo (send oplock releases on the correct connection)Stefan Metzmacher2008-02-251-1/+1
| | | | | metze (This used to be commit f6ecf59c7555917374fc9e5430034815fd4cd245)
* selftest: we pass the BASE-DEFER_OPEN testStefan Metzmacher2008-02-252-4/+3
| | | | | | | | We just need to pass the same sharedelay time to smbtorture as we use for smbd. metze (This used to be commit 3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3)
* BASE-DEFER_OPEN: add torture:sharedelays option to run this test fasterStefan Metzmacher2008-02-251-5/+13
| | | | | metze (This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)
* Respect the return value of asprintfVolker Lendecke2008-02-231-2/+1
| | | | | | | | | This removes tons of warnings warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result for me. Lots of that kind left though :-) (This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)
* libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam2008-02-221-0/+2
| | | | | | Michael (cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909) (This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)