[dm-devel] [RFC PATCH 0/4] dm core: full barrier support

Milan Broz mbroz at redhat.com
Wed Aug 6 10:33:45 UTC 2008


Nikola Ciprich wrote:
> Hi Milan,
> I'd like to ask, what's the current state of barrier support in DM?

Hi,
current state is exactly these patches below. Still applicable for upstream.
It is not in any development tree yet.

> Did You get any feedback? Are there any plans for pushing it to
> mainline?

No, there was no feedback.

Pushing it mainline depends on Alasdair's decision (maintainer of device-mapper).
(It needs thorough review first and maybe better implementation.)

Milan
--
mbroz at redhat.com


> thanks a lot in advance
> BR
> nik
> 
> On Tue, Jul 08, 2008 at 06:48:53PM +0200, Milan Broz wrote:
>> Hi,
>>
>> there was several discussions about supporting barriers
>> in device-mapper.
>>
>> I wrote this code some time ago, but it never reached dm-devel
>> tree. Take this more like RFC and experimental approach
>> - maybe there is better way how to handle it. 
>> Anyway this implementation works in my tests and is relatively simple.
>>
>> [RFC PATCH 1/4] dm core: remove unused code
>> 	- just remove never used code, already sent some time ago
>> 	in another patchset
>>
>> [RFC PATCH 2/4] dm core: add support for empty barriers
>> 	- the core implementation of empty barrier support
>> 	- implementation for stripe target
>>
>> [RFC PATCH 3/4] dm core: add support for barrier bio with payload
>> 	- tranform payload to sequence of data bio + empty barrier
>>
>> [RFC PATCH 4/4] dm core: wait for barrier in process in suspend
>> 	- try to solve the problem that we cannot suspend device
>> 	during processing of barrier.




More information about the dm-devel mailing list