Re: [POT] Which journalised filesystem ?

From: Miquel van Smoorenburg (miquels@cistron-office.nl)
Date: Sat Oct 06 2001 - 04:16:04 EST


In article <1002357150.3083.20.camel@volk.internalnet>,
Tonu Samuel <tonu@please.do.not.remove.this.spam.ee> wrote:
>On Sat, 2001-10-06 at 01:41, Miquel van Smoorenburg wrote:
>> >Does that mean we can or we can't? Is there a flush write cache operation in
>> >ATA? I asume there is one in SCSI?
>>
>> Well hdparm has a -W option with which you can turn on/off the
>> write cache. If that works (and it appears it does) you should be
>> able to turn write cache off, write *one* block so that the
>> cache gets flushed and turn it back on. I'm not sure how to
>> test this, though.
>
>Doesn't hdparm -W0f do the work?

No, -f flushes the kernels buffer cache, not the IDE disk write cache.

Mike.

-- 
Move sig.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:41 EST