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] [day] [month] [year] [list]
Date:	Sat, 24 Feb 2007 13:42:06 +0100
From:	Jens Axboe <jens.axboe@...cle.com>
To:	V P <upathiyayan@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: REQ_HARDBARRIER and REQ_SOFTBARRIER

On Sat, Feb 24 2007, V P wrote:
> Hi,
> 
> I'm trying to modify the ordering of I/O requests in Linux kernel, and
> came across the barrier flags REQ_HARDBARRIER and REQ_SOFTBARRIER.
> 
> One thing I noticed (which might be wrong) is that all the requests
> have both these flags set. What is the significance of these flags? Is

Uhm? That's definitely not true.

> it a must for a request to have this? Can I reorder two requests with
> these flags set? How is SOFTBARRIER different from HARDBARRIER?

Both imply a reordering barrier in the io scheduler, and the hard
barrier further implies a barrier at the drive/driver side. So you may
not reorder across a barrier.

-- 
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