lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071210103753.GB5008@kernel.dk>
Date:	Mon, 10 Dec 2007 11:37:56 +0100
From:	Jens Axboe <jens.axboe@...cle.com>
To:	jidong xiao <jidong.xiao@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: What does "ordering by draining" mean?

On Mon, Dec 10 2007, jidong xiao wrote:
> Hi,
> 
> I am reading the source code of block I/O layer, and now seeing there
> saying "ordering by draining" or "ordering by tag" in
> include/blkdev.h,and the comments in that file says: "Hardbarrier is
> supported with one of the following methods", but what do these two
> methods exactly mean?

ordering by draining means that you empty the pending queue of requests
and then flush the cache to prevent a later issue of a new request to
reach the platter before the older ones. order by tag means that the hw
has a way of being told not to reorder beyond the barrier, in which case
you don't have to drain the queue.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ