Re: Request: I/O request recording

From: Andrew Morton
Date: Mon Jan 26 2004 - 07:00:00 EST


Bart Samwel <bart@xxxxxxxxx> wrote:
>
> 2. Swapfiles apparently don't like to be touched. I did an
> ioctl(FIGETBSZ) on a swapfile, and it would simply block until I did a
> swapoff on the file. I didn't even get to the FIBMAP part. :( Is this
> correct behaviour?

yup.

> And is there any way to detect this so that I can work around it?

swapoff -a beforehand, I guess.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/