On Dec 19, 2008, at 12:23 AM, Russ Cox wrote:
Append-only and exclusive-use are properties of files
and need to be enforced uniformly across all clients
to be meaningful.  They must be per-file, not per-fd.


Two questions:
   1. But before I ask this one: I don't deny that per-file append-only
    is *extremely* useful. My question is a different one: what is
    the danger of N clients accesing the file X in append-only mode
    and M clients accesing it in random access mode? Could you,
    please, give a concrete scenario?

    2. Could you, please, answer the question in the original email
of whether the kind of trivial patch (for the real thing you also need to handle O_APPEND in the fusecreate) I provided would be acceptable for the inclusion into Hg? I have no problem maintaining the extra code
    on the side, but if the change is deemed *not*
to be acceptable that translates into it being dangerous or not good enough. And if that's the case I'd really appreciate an explanation to
    be given.

Thanks,
Roman.

Reply via email to