Hi,
I am doing the following, on the partition with softupdates turned on:
1. fd = open("a file", O_CREAT)
2. mmap(fd)
3. sequencial write to mmapped region
4. some other processing
5. munmap
6. unlink
7. close
Since this is a supposedly high-perfomance application, I am interested
that data do NOT hit the disk. I understand that softupdates do a good
job at that. The time taken by step 4 is usually sub-second, but
sometimes it can take longer (network delays etc.). The question is -
is it possible to actually find out whether data hit the disk or not for
a particular run of 1-7?
&Anton.
--
May the tuna salad be with you.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message