summaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2017-03-22 17:44:38 +0100
committerMike Snitzer <snitzer@redhat.com>2017-03-27 12:08:07 -0400
commit6e53636fe81465d6810f4e0910e7238edf12a133 (patch)
tree38be83f8fc4476c3fb4debce0b8135ed07854c1c /drivers/md/Kconfig
parent4464e36e06470e3d68dc26a874f0dbdffa09a6e8 (diff)
downloadblackbird-op-linux-6e53636fe81465d6810f4e0910e7238edf12a133.tar.gz
blackbird-op-linux-6e53636fe81465d6810f4e0910e7238edf12a133.zip
dm raid: add raid4/5/6 journal write-back support via journal_mode option
Commit 63c32ed4afc ("dm raid: add raid4/5/6 journaling support") added journal support to close the raid4/5/6 "write hole" -- in terms of writethrough caching. Introduce a "journal_mode" feature and use the new r5c_journal_mode_set() API to add support for switching the journal device's cache mode between write-through (the current default) and write-back. NOTE: If the journal device is not layered on resilent storage and it fails, write-through mode will cause the "write hole" to reoccur. But if the journal fails while in write-back mode it will cause data loss for any dirty cache entries unless resilent storage is used for the journal. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud