Re: simplify disksort, please review.
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 06/09/05
- Previous message: Ruslan Ermilov: "Re: Retiring static libpam support"
- In reply to: Pawel Jakub Dawidek: "Re: simplify disksort, please review."
- Next in thread: Jeff Roberson: "Re: simplify disksort, please review."
- Reply: Jeff Roberson: "Re: simplify disksort, please review."
- Reply: Bruce Evans: "Re: simplify disksort, please review."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Date: Thu, 09 Jun 2005 21:42:15 +0200
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. _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Ruslan Ermilov: "Re: Retiring static libpam support"
- In reply to: Pawel Jakub Dawidek: "Re: simplify disksort, please review."
- Next in thread: Jeff Roberson: "Re: simplify disksort, please review."
- Reply: Jeff Roberson: "Re: simplify disksort, please review."
- Reply: Bruce Evans: "Re: simplify disksort, please review."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [PATCH scsi-misc-2.6 01/05] scsi: make blk layer set REQ_SOFTBARRIER when a request is dispatche
... >> into the top of the block layer, and is used to guarantee the device ...
> dispatch queue) and use them to defer/requeue, ... We are guaranteed that all requeued
requests are served in LIFO ... After a requeue, it is not required to return the same
request again. ... (Linux-Kernel) - Re: VB5 forcing data to disk
... the driver I/O requests, to ensure that such data can be persisted safely. ...
For data integrity on disk, ... But modern disks and controllers may cache writes
... out of view of Windows or the file system, so flushing is no guarantee ... (microsoft.public.vb.general.discussion) - Re: Holiday Worlds Plymouth Cafe menu!
... Even Southwest tries to honor "no peanuts" requests if you ask, ... airline
can GUARANTEE it (for one thing you never know what other pax will ... (rec.roller-coaster) - Re: Dinner seatings
... You may not get main if you ask for it, but they'll telll you. ... they will
tell you what you've *requested.* But in big bold font ... in their brochures it says about
dining requests, ... guarantee anything. ... (rec.travel.cruises)