hi
i found a bug with the newer development kernels.
i have files with data corruption after hitting the reset button.
it seems that "sync" does not sync the data to disk.
i made following test:
cp -av /usr/src/linux/drivers/ drivers
diff -r -u /usr/src/linux/drivers/ drivers/ (no differs)
sync
sync
sync
hit the reset button.
after that, the diff reports about 190 (of 3134) files are different.
the files have the right size, but they are only filled with null chars.
xfs_bmap reports, that they have no extends.
i have made the test with some older kernels:
the last working kernel is from feb, 4th 14:00 CET.
the first buggy kernel is from feb, 6th 0:50 CET.
the tests were made on a xfs root partition (ide drive, no kio).
and i notice that on the buggy kernels, when the (root) fs is marked
readonly while shutdown, there were more diskactivity than on the good ones.
the data is only written to disk while marking readonly?
hope that helps.
utz
|