* [PATCH] r5cache: allow adding journal to array without journal
@ 2017-03-14 0:09 Song Liu
0 siblings, 0 replies; only message in thread
From: Song Liu @ 2017-03-14 0:09 UTC (permalink / raw)
To: linux-raid
Cc: shli, neilb, kernel-team, dan.j.williams, hch, jsorensen, Song Liu
This seems just work.
Signed-off-by: Song Liu <songliubraving@fb.com>
---
Manage.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/Manage.c b/Manage.c
index 5c3d2b9..9ab999d 100644
--- a/Manage.c
+++ b/Manage.c
@@ -963,11 +963,6 @@ int Manage_add(int fd, int tfd, struct mddev_dev *dv,
sysfs_free(mdp);
- tst->ss->getinfo_super(tst, &mdi, NULL);
- if (mdi.journal_device_required == 0) {
- pr_err("%s does not support journal device.\n", devname);
- return -1;
- }
disc.raid_disk = 0;
}
--
2.9.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-14 0:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 0:09 [PATCH] r5cache: allow adding journal to array without journal Song Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.