]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache policy smq: move 'dm-cache-default' module alias to SMQ
authorYi Zhang <yizhan@redhat.com>
Wed, 12 Aug 2015 11:22:43 +0000 (19:22 +0800)
committerMike Snitzer <snitzer@redhat.com>
Wed, 12 Aug 2015 15:27:29 +0000 (11:27 -0400)
commit9efc8c248a25ced561c5bbf3021ef9f88cd40d90
tree815aebe2223832c173913226499a82d5d7a41ebc
parentd51e7fbe916b83dad7554fee4ce1979839aed906
dm cache policy smq: move 'dm-cache-default' module alias to SMQ

When creating dm-cache with the default policy, it will call
request_module("dm-cache-default") to register the default policy.
But the "dm-cache-default" alias was left referring to the MQ policy.
Fix this by moving the module alias to SMQ.

Fixes: 9fa40967 (dm cache: switch the "default" cache replacement policy from mq to smq)
Signed-off-by: Yi Zhang <yizhan@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-mq.c
drivers/md/dm-cache-policy-smq.c