diff options
| author | Jens Axboe <axboe@kernel.dk> | 2018-10-10 22:49:26 -0400 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2018-10-11 11:36:09 -0400 |
| commit | 6a23e05c2fe3c64ec012fd81e51e3ab51e4f2f9f (patch) | |
| tree | 43687a888b009ec49092138e6d691503669b4dc1 /drivers/md/dm-sysfs.c | |
| parent | 118aa47c7072bce05fc39bd40a1c0a90caed72ab (diff) | |
dm: remove legacy request-based IO path
dm supports both, and since we're killing off the legacy path in
general, get rid of it in dm.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-sysfs.c')
| -rw-r--r-- | drivers/md/dm-sysfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-sysfs.c b/drivers/md/dm-sysfs.c index c209b8a19b84..a05fcd50e1b9 100644 --- a/drivers/md/dm-sysfs.c +++ b/drivers/md/dm-sysfs.c | |||
| @@ -92,7 +92,8 @@ static ssize_t dm_attr_suspended_show(struct mapped_device *md, char *buf) | |||
| 92 | 92 | ||
| 93 | static ssize_t dm_attr_use_blk_mq_show(struct mapped_device *md, char *buf) | 93 | static ssize_t dm_attr_use_blk_mq_show(struct mapped_device *md, char *buf) |
| 94 | { | 94 | { |
| 95 | sprintf(buf, "%d\n", dm_use_blk_mq(md)); | 95 | /* Purely for userspace compatibility */ |
| 96 | sprintf(buf, "%d\n", true); | ||
| 96 | 97 | ||
| 97 | return strlen(buf); | 98 | return strlen(buf); |
| 98 | } | 99 | } |
