summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2016-11-18 16:46:50 -0800
committerShaohua Li <shli@fb.com>2016-11-18 17:13:49 -0800
commit3bddb7f8f264ec58dc86e11ca97341c24f9d38f6 (patch)
tree350e69ab8b594d2ce9eaa833e04294a939b8c044 /drivers/md/raid1.c
parent5aabf7c49d9ebe54a318976276b187637177a03e (diff)
downloadop-kernel-dev-3bddb7f8f264ec58dc86e11ca97341c24f9d38f6.zip
op-kernel-dev-3bddb7f8f264ec58dc86e11ca97341c24f9d38f6.tar.gz
md/r5cache: handle FLUSH and FUA
With raid5 cache, we committing data from journal device. When there is flush request, we need to flush journal device's cache. This was not needed in raid5 journal, because we will flush the journal before committing data to raid disks. This is similar to FUA, except that we also need flush journal for FUA. Otherwise, corruptions in earlier meta data will stop recovery from reaching FUA data. slightly changed the code by Shaohua Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud