lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: questions regarding Journalling-FSes and w-cache reordering
Date


> -----Original Message-----
>
> Is a ATA-harddisk allowed to reorder the operations from in
> w-cache ?

ATA hard drives are allowed to reorder/merge/etc their write caches if write
cache is enabled. With write caching enabled, there is no guarantee that
dirty data will be flushed in any specific order, nor does the ATA protocol
support any such ordering beyond the global flush cache command.

No order preference is supported in TCQ either except for the optional FUA
extensions for ATA-7.

There is nothing in the ATA specification that guarantees data integrity at
any given instant in time on the media without a flush cache. (e.g. I am in
the process of writing data A, and data B is an arriving overlapping write
splice, what do I actually put on the media and in what order)

Power cycling a dirty, busy drive, especially in the middle of error
recovery/reallocation, is always a dangerous proposition.


--eric

--
Eric Mudama Maxtor Corporation
eric_mudama@maxtor.com 2452 Clover Basin Drive - BC163
303.682.4758 (x4758) Longmont, CO 80503
cell: 303.478.3180



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.087 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site