[lkml]   [2010]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCHSET 2.6.36-rc2] block, dm: finish REQ_FLUSH/FUA conversion, take#2

This is the second take of block-dm-finish-REQ_FLUSH-FUA-conversion.
I've put patches on top of the previous patches for easier review.
The series can be trivially reordered so that the order is more
logical. Jens, please let me know if you want it to be reordered.

The dm conversion is _lightly_ tested. Please proceed with caution.
Let's hold off merging these bits until dm people can verify the
conversion is correct.


Differences from the previous attempt[1] are,

* bio-based dm and requested-based dm patches are split. 0002-0003
convert bio-based dm and 0004 converts requested-based dm.

* The previous requested based dm conversion was broken in the way
requests are sequenced. This patch rips out special multi-target
handling for flushes and handles flushes the same way other requests
are handled.

This patchset is on top of "block, fs: replace HARDBARRIER with
FLUSH/FUA" patchset[2] and available in the following git tree

git:// flush-fua

and contains the following changes.

block/blk-core.c | 4
drivers/md/dm-crypt.c | 2
drivers/md/dm-io.c | 20 --
drivers/md/dm-log.c | 2
drivers/md/dm-raid1.c | 8
drivers/md/dm-region-hash.c | 16 -
drivers/md/dm-snap-persistent.c | 2
drivers/md/dm-snap.c | 6
drivers/md/dm-stripe.c | 2
drivers/md/dm.c | 394 ++++++++--------------------------------
include/linux/blk_types.h | 1
include/linux/fs.h | 3
12 files changed, 104 insertions(+), 356 deletions(-)




 \ /
  Last update: 2010-08-30 12:09    [W:0.121 / U:0.840 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site