diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2015-06-10 00:22:49 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-06-17 19:40:41 +0300 |
commit | e262f34741522e0d821642e5449c6eeb512723fc (patch) | |
tree | 2f6608a34b9b1ef4c249267901d73a5e0d481cd0 /drivers/md/dm-stats.c | |
parent | dfcfac3e4cd94abef779297fab6adfd2dbcf52fa (diff) | |
download | linux-e262f34741522e0d821642e5449c6eeb512723fc.tar.xz |
dm stats: add support for request-based DM devices
This makes it possible to use dm stats with DM multipath.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-stats.c')
-rw-r--r-- | drivers/md/dm-stats.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/dm-stats.c b/drivers/md/dm-stats.c index faf1071ef631..8a8b48fa901a 100644 --- a/drivers/md/dm-stats.c +++ b/drivers/md/dm-stats.c @@ -1155,11 +1155,6 @@ int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, { int r; - if (dm_request_based(md)) { - DMWARN("Statistics are only supported for bio-based devices"); - return -EOPNOTSUPP; - } - /* All messages here must start with '@' */ if (!strcasecmp(argv[0], "@stats_create")) r = message_stats_create(md, argc, argv, result, maxlen); |