Re: different behaviour with badblocks on 2.6.0-test1-mm1-07int

Mike Fedyk
2003-07-22T21:30:56Z

On Tue, Jul 22, 2003 at 02:42:53PM -0700, Mike Fedyk wrote:
> Hi,
>
> I was testing a hard drive with badblocks (from the e2fsprogs-1.34) on the
> 2.6.0-test1-mm1-07int (with Con's scheduler patch), and I noticed in vmstat
> and gkrellm that during the write passes there are reads on the same drive
> when there should only be writes.
>
> I tried stracing badblocks, but all it showed was write() calls, and vmstat
> and gkrellm showed reads only, so it modified the behaviour.
>
> Has anyone else seen this?
>
> ii e2fsprogs 1.33+1.34-WIP-2003.05 The EXT2 file system
> utilities and libraries
>

Oh, and testing with the same hardware and userspace on 2.4.22-pre7 shows
normal behaviour (writes with no reading, reads with no writing).

This is with "badblocks -wso /tmp/hde.out /dev/hde > /dev/hde.log 2>&1 &" on
a bash prompt on both kernels.

Neither found any bad blocks, and /tmp is on a /dev/hda1