[lkml]   [2007]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.
On Mon, May 28, 2007 at 11:30:32AM +1000, Neil Brown wrote:
> 1/ A BIO_RW_BARRIER request should never fail with -EOPNOTSUP.

The device-mapper position has always been that we require

> a zero-length BIO_RW_BARRIER

(i.e. containing no data to read or write - or emulated, possibly

before we can provide full barrier support.
(Consider multiple active paths - each must see barrier.)

Until every device supports barriers -EOPNOTSUP support is required.
(Consider reconfiguration of stacks of devices - barrier support is a
dynamic block device property that can switch between available and
unavailable at any time.)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-05-28 11:47    [W:0.173 / U:8.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site