From: Wietse Venema (no email)
Date: Fri Aug 01 2003 - 11:41:12 EDT
Matthias Andree:
> On Fri, 01 Aug 2003, Wietse Venema wrote:
>
> > Linux XFS breaks both link() AND rename(); therefore patching for
> > the link() problems alone is pointless.
>
> Virtually all Linux file systems "break" these, i. e. do these
> operations asynchronously.
Fortunately, Postfix runs on more systems than just Linux.
> > For qmail, someone did an LD_PRELOAD solution that intercepts all
> > the relevant file system operations; such an implementation can
> > actually be tested and verified. Lots of little changes all over
> > Postfix are not.
>
> There are some concerns about the implementation tough.
>
> I think using cscope to figure the full list of rename() and link() is
> safe enough, ultimately, there'd be one function sync_rename() and one
> sync_link() and these functions would be the only ones that call
> rename() or link().
This is not robust. Postfix will change and there is no guarantee
that today's cscope result will be valid tomorrow.
Wietse
|
|
|