[PATCH] md: Make sure QUEUE_FLAG_CLUSTER is set properly for md.
This flag should be set for a virtual device iff it is set for all underlying devices. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
a22c96c737
commit
89e5c8b5b8
@ -266,6 +266,7 @@ static mddev_t * mddev_find(dev_t unit)
|
||||
kfree(new);
|
||||
return NULL;
|
||||
}
|
||||
set_bit(QUEUE_FLAG_CLUSTER, &new->queue->queue_flags);
|
||||
|
||||
blk_queue_make_request(new->queue, md_fail_request);
|
||||
|
||||
|
Reference in New Issue
Block a user