[dm-devel] Is it deliberate that the device mapper is not passing the DISCARD ioctls

Theodore Ts'o tytso at mit.edu
Mon Sep 20 13:14:56 UTC 2010


Hi there,

I was just testing discard support in mke2fs, and I was surprised that
although the dm layer appears to pass discard requests through to the
underlying block device driver when submitted through the bio layer
(i.e., from kernel file systems), apparently the discard ioctls (i.e.,
BLKDISCARD, BLKDISCARDSEC, BLKDISCARDZEROES) are not currently wired up
in the dm layer.

Is this deliberate, or an oversight?

Thanks, regards,

					- Ted




More information about the dm-devel mailing list