dm thin: fix table output when pool target disables discard passdown internally
On Fri, May 18, 2012 at 11:04:01AM -0400, Mike Snitzer wrote:
> When the thin pool target clears the discard_passdown parameter
> internally, it incorrectly reports this to userspace on the table line.
> This patch corrects this by no longer changing the table line to reflect
> that discard passdown was disabled.
> We can still tell when discard passdown is overridden by looking for the
> message "Discard unsupported by data device (sdX): Disabling discard passdown."
> Signed-off-by: Mike Snitzer <email@example.com>
dm-devel mailing list