]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm/r5cache: allow adding journal to array without journal
authorSong Liu <songliubraving@fb.com>
Tue, 28 Mar 2017 18:04:44 +0000 (11:04 -0700)
committerJes Sorensen <jsorensen@fb.com>
Wed, 2 Aug 2017 13:22:51 +0000 (09:22 -0400)
commit3373d49f32b2bd8149f633727eba453708a9bf9c
tree342fdfde43ac52c5bcd80a4f5f4f5dbbe465dc3e
parent795bd44ed11aafbed2628ba21216c667371e79a5
mdadm/r5cache: allow adding journal to array without journal

Currently, --add-journal can be only used to recreate broken journal
for arrays with journal since  creation. As the kernel code getting
more mature, this constraint is no longer necessary.

This patch allows --add-journal to add journal to array without
journal.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Manage.c
mdadm.8.in