chiark / gitweb /
journal: provide an API that allows client to figure out whether they need to recheck...
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2012 18:05:19 +0000 (20:05 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2012 18:07:33 +0000 (20:07 +0200)
commit85210bffd8363e491b4c31f2d09404f9869ad0c7
tree8afc2d12f00925280a63dac7ef6e1eeeeb90edd7
parente9f600f2fb4b0df55c7a8fb4b4d09f9979997223
journal: provide an API that allows client to figure out whether they need to recheck the journal manually for changes in regular intervals

Network file systems generally do not offer inotify() that would work
across the network. We hence cannot rely on inotify() exclusiely in
those case. Provide an API to determine these cases, and suggest doing
manual regular rechecks.

Note that this is not complete yet, as we need to rescan journal dirs on
network file systems explicitly to find new/removed files
Makefile.am
man/sd_journal_get_fd.xml
src/journal/journal-internal.h
src/journal/libsystemd-journal.sym
src/journal/sd-journal.c
src/shared/missing.h
src/systemd/sd-journal.h