Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2002 12:17:33 -0700
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        mjacob@feral.com
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/cam/scsi scsi_cd.c scsi_da.c src/sys/dev/ata ata-disk.c 
Message-ID:  <200202241917.g1OJHXI78807@aslan.scsiguy.com>
In-Reply-To: Your message of "Fri, 22 Feb 2002 11:15:11 PST." <Pine.BSF.4.21.0202221114490.88456-100000@beppo> 

next in thread | previous in thread | raw e-mail | index | archive | help
>
>Umm - was this an abortive attempt to use ORDERED Tags? If so, isn't it still
>of use?

I always assumed it would be used by softupdates to increase the speed
of fsync operations.  By using the barrier, you can commit all deps
asynchronously in the correct order with the appropriate barriers and
maximize the device's queue optimizations.  In other words:

	All data blocks

	First indirect block B_ORDERED

	All the rest of the indirect blocks

	First directory update B_ORDERED

	All the rest of the directory updates

Each grouping can be optimized by the drive and there is no latency
incurred in the wait to start the next dependency level.  In fact,
the drive may pull dependent data into the write buffer while waiting
for media commits of transactions before the barrier.

Even if Kirk doesn't feel like using it, this feature is not inherently
evil and shouldn't be removed without more general discussion.

--
Justin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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