[lkml]   [2001]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] SMP race in ext2 - metadata corruption.
    On Fri, Apr 27, 2001 at 09:23:57AM -0400, you [Alexander Viro] claimed:
    > On Fri, 27 Apr 2001, Vojtech Pavlik wrote:
    > > Actually this is done quite often, even on mounted fs's:
    > >
    > > hdparm -t /dev/hda
    > You would need either hdparm -t /dev/hda<something> or mounting the
    > whole /dev/hda.
    > Buffer cache for the disk is unrelated to buffer cache for parititions.

    Well, I for one have been running

    hdparm -t /dev/md0
    time head -c 1000m /dev/md0 > /dev/null

    while /dev/md0 was mounted without realizing that this could be "stupid" or
    that it could eat my data.

    /dev/md0 on /backup-versioned type ext2 (rw)

    I often cat(1) or head(1) partitions or devices (even mounted ones) if I
    need dummy randomish test data for compression or tape drives (that I've
    been having trouble with).

    BTW: is 2.2 affected? 2.0?

    -- v --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.022 / U:5.776 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site