Re: Safe File Update (atomic)
- To: weigelt@metux.de, debian devel <debian-devel@lists.debian.org>
- Subject: Re: Safe File Update (atomic)
- From: Olaf van der Spek <olafvdspek@gmail.com>
- Date: Sat, 1 Jan 2011 17:58:14 +0100
- Message-id: <[🔎] AANLkTinzgo=u85R4mjaxuSLKzdHa7_YhBFZ2YLfu7NTn@mail.gmail.com>
- In-reply-to: <20101231160803.GC10683@nibiru.local>
- References: <AANLkTimz6ui+L76H=F1Frtefb=-daGhoeACVnjsP73rU@mail.gmail.com> <20101230114655.GA19470@khazad-dum.debian.net> <20101231021723.GA9896@khazad-dum.debian.net> <AANLkTinnYXtF2CzhkFRMKw_gpP39h5uqU2j8oz1cSLYu@mail.gmail.com> <20101231115150.GB31280@khazad-dum.debian.net> <AANLkTikw9372od-euFevcZ=7fV8DtxorBaGsLQ3MCH84@mail.gmail.com> <20101231135711.GB10683@nibiru.local> <AANLkTinq1auCfW2FKJiQwZ=Y2K4HooR87ZbhFQ8NbStj@mail.gmail.com> <20101231144455.GA29628@nibiru.local> <AANLkTimZsvY_g8+R2zoOz=sKB0tZa86kot2qB-eh8fQR@mail.gmail.com> <20101231160803.GC10683@nibiru.local>
On Fri, Dec 31, 2010 at 5:08 PM, Enrico Weigelt <weigelt@metux.de> wrote:
>> Not true. Renaming a running executable works just fine, for example.
>
> Well, has been quite a while since I last used Windows, but IIRC
> renaming an running executable was denied.
Maybe on FAT. However, that's OT.
>> >> > Why not designing an new (overlay'ing) filesystem for that ?
>> >>
>> >> Increased complexity, lower performance, little benefit.
>> >
>> > Why that ? Currently applications (try to) implement that all on
>> > their own, which needs great efforts for multiprocess synchronization.
>> > Having that in a little fileserver eases this sychronization and
>> > moves the complexity to a single point.
>>
>> I mean compared to implementing it properly in the kernel.
>
> Doing it in the kernel would be fine (maybe DLM could be used here),
What's DLM?
> but would be a nonportable solution for quite a long time ;-o
Since it's the only proper solution I don't think that's a problem.
Olaf
Reply to: