OSDN Git Service

dm ebs: pass discards down to underlying device
authorHeinz Mauelshagen <heinzm@redhat.com>
Wed, 29 Apr 2020 14:47:03 +0000 (16:47 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 15 May 2020 14:29:35 +0000 (10:29 -0400)
commita5089a95d84c1e861e2d1f549ae368c8e89e3674
tree02c9822fd525f7a33c617238f73c3b7f6c0e21d3
parent6fbeb0048e6b93f7b7f195864f3ddc876ac4d42e
dm ebs: pass discards down to underlying device

Make use of dm_bufio_issue_discard() to pass discards down to the
underlying device.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-ebs-target.c