Peter Dufault [EMAIL PROTECTED] writes:
Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
mmap until 4.3 when Matt Dillon plans to make that the default behavior.
Ahh, no. That's the other way around - I do not *want* it to hit the
disk, but would like to *know* when it
On Fri, Mar 02, 2001 at 01:59:34PM +0100, Dag-Erling Smorgrav wrote:
Peter Dufault [EMAIL PROTECTED] writes:
Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
mmap until 4.3 when Matt Dillon plans to make that the default behavior.
Ahh, no. That's the other way around - I
Anton Berezin [EMAIL PROTECTED] writes:
So is there a way, or is not?
No. If there was a way to tell it'd be a bug.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Peter Dufault [EMAIL PROTECTED] writes:
Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
mmap until 4.3 when Matt Dillon plans to make that the default behavior.
Ahh, no. That's the other way around - I do not *want* it to hit the
disk, but would like to *know* when it
Peter Dufault [EMAIL PROTECTED] writes:
Won't help. You'll get the same mtime no matter whether the file is
actually written to disk or not.
No, the spec says: [...]
Oops, I was thinking "regular file with softupdates", not "mmapped
file" (note to self: get more sleep)
DES
--
Dag-Erling
Anton Berezin wrote:
On Fri, Mar 02, 2001 at 01:59:34PM +0100, Dag-Erling Smorgrav wrote:
Peter Dufault [EMAIL PROTECTED] writes:
Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
mmap until 4.3 when Matt Dillon plans to make that the default behavior.
Ahh, no.
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
On Wed, Feb 28, 2001 at 08:57:31AM -0500, Peter Dufault wrote:
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
[ putting hackers- back here]
On Wed, Feb 28, 2001 at 06:07:50AM -0800, Mike Smith wrote:
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.
Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
mmap until 4.3 when Matt Dillon plans to make that the default behavior.
Ahh, no. That's the other way around - I do not *want* it to hit the
disk, but would like to *know* when it nevertheless does.
OK, doing a stat and
: is it possible to actually find out whether data hit the disk or not for
: a particular run of 1-7?
:
:Answer to your question:
:
:Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
:mmap until 4.3 when Matt Dillon plans to make that the default behavior.
I plan on making it the
11 matches
Mail list logo