commit | 859644f0fa2141b5f7db0e3744999ec3bb5719d3 | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Tue May 03 19:43:24 2016 +0200 |
committer | Shaohua Li <shli@fb.com> | Mon May 09 09:24:01 2016 -0700 |
tree | 22d69e0c48a8336b1a90583a02aae779ae6bb02d | |
parent | 092398dce8c2406bfb0c9eebc3e764ff2ddb62a8 [diff] |
md: raid10: add prerequisite to run underneath dm-raid In case md runs underneath the dm-raid target, the mddev does not have a request queue or gendisk, thus avoid accesses to it. This patch adds two missing conditionals to the raid10 personality. Signed-of-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>