On Thu, Jun 27, 2013 at 6:49 PM, Jan Kaluza <jkaluza(a)redhat.com> wrote:
I have the same opinion for now, but I will at least try to evaluate
that locking idea. Maybe it can end up like more reliable
copytruncate directive.
I've been looking at that option - AFAICS mandatory file locking, at
least currently, doesn't work reliably with O_APPEND
(rw_verify_area->locks_mandatory_area doesn't use the O_APPEND flag at
all). But I haven't tested that, so I might have misread the kernel
code.
Mirek