summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14960: don't declare variables mid-functionAndrew Tridgell1-1/+2
(This used to be commit 4537de9289ce025a240fe46a708434c195138d20)
2007-10-10r14959: allow change notify to be disabled completely usingAndrew Tridgell2-3/+20
notify:enable=False (This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)
2007-10-10r14956: change the notify search to be much more efficient by using aAndrew Tridgell2-84/+167
per-depth bisection search. This makes the notify_trigger() call log(N) which makes us scale well for large numbers of outstanding notifies (This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)
2007-10-10r14951: - remove unused var 'path'Stefan Metzmacher1-12/+7
- fix compiler warning metze (This used to be commit 4d7de8b251e006a469adf2793dae422e128844c5)
2007-10-10r14948: add testing of truncate events, and add truncate support to inotifyAndrew Tridgell1-2/+5
backend (This used to be commit b80523a631ec57c7d19e9a23dca4594d71036138)
2007-10-10r14947: add support for file truncate eventsAndrew Tridgell1-5/+8
(This used to be commit ed1b90407d8ef6e0216931cb3a89cc9a7789ead2)
2007-10-10r14945: allow the notify backend to be specified per shareAndrew Tridgell2-3/+4
(This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584)
2007-10-10r14943: bring the inotify backend up to date with all the strange renameAndrew Tridgell1-16/+82
semantics (This used to be commit 74c274ea072fc45debaafd438ff63321b38a1448)
2007-10-10r14941: a rename of a file (but not a directory) triggers 3 events. The firstAndrew Tridgell1-1/+11
two are the rename (FROM and TO) then the 3rd event is a modify event of both attributes and creation time. (This used to be commit 010a1b14a58c0194e1f8bba29f4d02a86b7559c5)
2007-10-10r14939: don't use a void pointerStefan Metzmacher1-1/+1
metze (This used to be commit 03906b2b13c000ad9683f6bb1e336075655e1367)
2007-10-10r14933: fix the handling of notify filters to be much closer to the behaviourAndrew Tridgell7-35/+37
of w2k3. The behaviour is particularly tricky for rename. (This used to be commit 4d3b8d95498a328ffc08ecb62d9531b6bfe4e2b5)
2007-10-10r14932: ensure that we send a NOTIFY_ACTION_OLD_NAME andAndrew Tridgell1-2/+4
NOTIFY_ACTION_NEW_NAME together to the client. (This used to be commit d58011b0f35c3299f35ba9d72a7b9b9b17253511)
2007-10-10r14928: demonstrate that the completion filter is only set on the first notifyAndrew Tridgell1-0/+2
on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)
2007-10-10r14926: change the inotify backend to implement the rather unusual semanticsAndrew Tridgell1-4/+28
for rename. The cookies in inotify tell us (indirectly!) if its a rename between directories or not (This used to be commit 13574a8d0c7228bf36a6debe4853f693c9f8f543)
2007-10-10r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events forAndrew Tridgell3-37/+59
renames, if in the same directory. For renames between directories generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED (This used to be commit 2ac248edf05c3ee715165f2b33055de480743e87)
2007-10-10r14924: when handling recursive change notify, the client expects a windowsAndrew Tridgell1-0/+1
path name back (This used to be commit ceb85d12f7efb002af7a271f999e22f94b8536fb)
2007-10-10r14920: allow a notify backend to separately specify if it has handled theAndrew Tridgell5-55/+93
given mask for the current directory and sub-directories. This allows us to setup the less efficient internal handling for subdirectories, while using the kernel inotify service for the current directory if available. It also allows inotify to handle only some of the filter bits, leaving the other filter bits for the user space handler. (This used to be commit 7c3d989fa44c7f57853a825337159f476d7dff80)
2007-10-10r14918: cleaner handling of systems without inotifyAndrew Tridgell3-25/+38
(This used to be commit cf17ff15b15942f0ce068dd0a94b3b565a9b93cb)
2007-10-10r14912: don't crash if inotify isn't present...Stefan Metzmacher1-8/+16
metze (This used to be commit 953aa7887b310117a05a59291f3770a9beb5e1eb)
2007-10-10r14877: added support for the kernel inotify mechanism. This passes basicAndrew Tridgell9-49/+586
tests, but still needs some more work to ensure we correctly cope with events that may generate both a system inotify event and a internal notify event. The system inotify events won't handle recursion, and don't understand things like streams. This also adds the ntvfs/sysdep/ directory, which is meant for system dependent code that is not tied to a particular ntvfs backend. The inotify code is a good example of that. (This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher3-3/+3
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14838: fix the build. Looks like I still haven't quite got the hang of theAndrew Tridgell3-1/+3
new dependency/proto system :-) (This used to be commit 63ae3f21e3471895ba83df1c2fdc4147090f7fdb)
2007-10-10r14835: split out the config rules for the ntvfs/common/ directoryAndrew Tridgell2-5/+15
(This used to be commit 33495d19cf0263f6df5ec935f51c68bde84b1d01)
2007-10-10r14822: if we use the snum used by the lp_* functions instead of the wire TID,Stefan Metzmacher1-10/+10
then don't use tid as name... metze (This used to be commit d41d48caf209fec9f5f04d38d75277b1cfeed22f)
2007-10-10r14808: added notify_trigger() calls for rename and setfileinfo callsAndrew Tridgell2-0/+43
(This used to be commit adb4ea32e2d5506cb213ea4c0715918042fba084)
2007-10-10r14805: use tdb_lock_bystring() to prevent race conditions in notify add/removeAndrew Tridgell1-5/+56
(This used to be commit a6be44f78ca2eaecbf0b6d8598addba5a11ae966)
2007-10-10r14803: copy with the root directory, which has /. on the end of the pathAndrew Tridgell1-0/+17
(This used to be commit 16742cd28621d205f21c855e5635be1dfc3f2b69)
2007-10-10r14800: use tdb_get_seqnum() in the change notify code to avoid reloading theAndrew Tridgell1-2/+13
notify record if the tdb has not changed. This makes the notify_trigger() call much faster, which is important as it is called on just about every file operation (This used to be commit d09b8761bfda7dfbb4c7a5c4a4f4359ba01923a3)
2007-10-10r14797: added checking of the filter in notify requestsAndrew Tridgell6-10/+48
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)
2007-10-10r14796: handle overflows in the notify buffer. The pending events are dumpedAndrew Tridgell1-4/+27
and the notify buffer removed (This used to be commit a4c0e23f9dc5049e7d6df3bf3d3ee694f715ce05)
2007-10-10r14795: queue notify requests on the same handleAndrew Tridgell1-32/+31
(This used to be commit c976f14a9f397802946a9bb36394fe4c27bf3caf)
2007-10-10r14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, andAndrew Tridgell2-20/+28
add the hooks in all the other places (This used to be commit d1937589029ac2a75d15f006685769c44a274a65)
2007-10-10r14792: when we enable fake oplocks, give out batch oplocks not exclusive ↵Andrew Tridgell1-2/+2
oplocks (This used to be commit 182aee1a213c1219772895deed31e1ed8aed00c4)
2007-10-10r14755: the change notify code now passes most of the RAW-NOTIFY test. StillAndrew Tridgell4-21/+98
more work to do though (This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)
2007-10-10r14736: - the ntvfs subsystem should not know about smb_server.hStefan Metzmacher16-16/+3
- the process module subsystem should not know about smb_server.h - the smb_server module should not know about process models metze (This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)
2007-10-10r14672: the async_info desctructor needs access to the private struct,Stefan Metzmacher1-0/+19
so free async info explicit... I hope to find a generic way later, so that the ntvfs modules doesn't need to take care that much... metze (This used to be commit ba3bf34a850fca52f5d6297315e33df14f62373b)
2007-10-10r14640: Fix dependencyJelmer Vernooij1-1/+1
(This used to be commit 009b56a3234b28e212fe5b2cda4f068c9a2f8707)
2007-10-10r14616: added notify change support to the posix backendAndrew Tridgell9-0/+566
It doesn't fully work yet, and doesn't yet have all the efficiency that is planned, but it doesn't break anything and I wanted to get the code in the tree to minimise the chance of collisions with the work metze is doing. (This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
2007-10-10r14615: add notify to unixuid ntvfs moduleAndrew Tridgell1-0/+14
(This used to be commit 79af976d189798bb92f5909237202ca18db1789f)
2007-10-10r14614: handle zero timers in pvfs_wait()Andrew Tridgell1-4/+4
(This used to be commit cc1f8b3ebe2dcab6f21913af9baf231f3250120e)
2007-10-10r14613: fixed ntvfs_notify_next()Andrew Tridgell1-1/+1
(This used to be commit 9bf7d322d014d0d7dc603427b233acd97fae5734)
2007-10-10r14569: Make more functions public.Jelmer Vernooij1-0/+1
(This used to be commit da0a4118189d1026e04e46cb73ba90a4a94d8819)
2007-10-10r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij1-1/+1
rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10r14548: fix build after generated prototypesAlexander Bokovoy1-0/+1
(This used to be commit 25b93e043edc21fa40928c9166764a3a7e1b1e23)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij2-1/+2
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14541: separate smbsrv_request and ntvfs_request,Stefan Metzmacher2-5/+62
with this it's now possible to write a ntvfs_test programm like the vfstest in samba3 also smb2 support will be possible later metze (This used to be commit 7253153691e35cd206346fbd4e9b9f95c042f602)
2007-10-10r14540: fix a talloc hierachie problem,Stefan Metzmacher5-73/+108
make sure file and search handles are cleaned up before anything else in the pvfs_state struct, as there destructors reply on a valid pvfs_state struct metze (This used to be commit aaa5d377b9b6145a83c0e686c7fbb7b561ae8988)
2007-10-10r14539: get rid of a pointless union layer in struct smb_notifyAndrew Tridgell3-4/+4
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.Jelmer Vernooij1-1/+1
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10r14487: split smbsrv_request into two parts, one will be moved to ntvfs_requestStefan Metzmacher11-79/+123
but I don't to get the commit to large, to I'll do this tomorrow... metze (This used to be commit 10e627032d7d04f1ebf6efed248c426614f5aa6f)