Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2005 21:42:15 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        arch@FreeBSD.org
Subject:   Re: simplify disksort, please review. 
Message-ID:  <9131.1118346135@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 09 Jun 2005 21:30:08 %2B0200." <20050609193008.GB837@darkness.comp.waw.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20050609193008.GB837@darkness.comp.waw.pl>, Pawel Jakub Dawidek writes:

>The one example of how the order can be broken (write(offset, size)):
>
>	write(1024, 512)
>	write(0, 2048)

If you issue these two requests just like that, you get no guarantee
which order they get written in.

It's not just disksort which might surprise you, tagged queuing and
write caches may mess up your day as well.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9131.1118346135>