lkml.org 
[lkml]   [2002]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 2.4.x write barriers (updated for ext3)
    Hi,

    On Sun, Mar 03, 2002 at 10:09:35PM -0800, Jeremy Higdon wrote:

    > > WCE is per-command? And 0 means no caching, so the command must complete
    > > when the data is on the media?
    >
    > My reading is that WCE==1 means that the command is complete when the
    > data is in the drive buffer.

    Even if WCE is enabled in the caching mode page, we can still set FUA
    (Force Unit Access) in individual write commands to force platter
    completion before commands complete.

    Of course, it's a good question whether this is honoured properly on
    all drives.

    FUA is not available on WRITE6, only WRITE10 or WRITE12 commands.

    --Stephen
    -
    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:24    [W:0.020 / U:0.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site