summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-log-userspace-base.c
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2016-10-28 00:22:13 +0200
committerShaohua Li <shli@fb.com>2016-10-29 07:04:03 +0200
commit9a8b27fac5bbb77337cc2e5d31d37c9936782d87 (patch)
treea10573f48736ba5b5e89fdc6f4f7844fae2ce133 /drivers/md/dm-log-userspace-base.c
parentmd: report 'write_pending' state when array in sync (diff)
downloadlinux-9a8b27fac5bbb77337cc2e5d31d37c9936782d87.tar.xz
linux-9a8b27fac5bbb77337cc2e5d31d37c9936782d87.zip
raid5-cache: correct condition for empty metadata write
As long as we recover one metadata block, we should write the empty metadata write. The original code could make recovery corrupted if only one meta is valid. Reported-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/dm-log-userspace-base.c')
0 files changed, 0 insertions, 0 deletions