Messages in this thread | | | Date | Fri, 27 Apr 2001 17:32:50 +0300 | From | Ville Herva <> | Subject | Re: [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 or 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 --
v@iki.fi - 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/
| |