Re: True ACID under linux (no fsync)?

Поиск
Список
Период
Сортировка
От markw
Тема Re: True ACID under linux (no fsync)?
Дата
Msg-id 39FF2F5A.B014A180@mohawksoft.com
обсуждение исходный текст
Ответ на Re: True ACID under linux (no fsync)?  (shawn everett <everett@pgweb.com>)
Список pgsql-general
shawn everett wrote:

> I may be horriblly out of my element here but, I'm going to jump in anyway
> :)
>
> If you mount a floppy and copy a large file to it, you will get a prompt
> back fairly quickly.
>
> If you type: sync right after
>
> The sync command writes everything to the floppy as expected.

Yes, but does cp call fsync()? That is the question. I would suspect that it does not. A non-functional fsync call is a
serious error, and one should think more people would mention it. This is the first I have heard.

>
>
> Shawn
>
> On Tue, 31 Oct 2000, markw wrote:
>
> > "Gary Howland (During daytime)" wrote:
> >
> > > Hi,
> > >
> > > Just a quickie - I heard that linux does not have a working fsync() call
> > > (it has no concept of raw devices).  In other words, fsync cannot be used
> > > to ensure that data is on disk (try it with a floppy - it returns IMMEDIATELY!!! - long before the write
finishes)
> >
> > Are you sure? Where is this information?
> >
> >
> > > This is for ALL linuxes.
> > >
> > > Does this mean that postgres is unrealiable (or non ACID-conforming) under linux?
> > >
> > > Gary
> > >
> > > --
> > > Friends help you move.
> > > Real friends help you move bodies.
> > >
> > > _______________________________________________________________________
> > >
> > > Free Unlimited Internet Access! Try it now!
> > > http://www.zdnet.com/downloads/altavista/index.html
> > >
> > > _______________________________________________________________________
> >
> >
> >


В списке pgsql-general по дате отправления:

Предыдущее
От: "Steve Wolfe"
Дата:
Сообщение: Re: how good is PostgreSQL
Следующее
От: "Kevin O'Gorman"
Дата:
Сообщение: Re: how good is PostgreSQL