[dm-devel] [PATCH v2] dm thin: fix table output when pool target disables discard passdown internally
Joe Thornber
thornber at redhat.com
Fri May 18 15:14:28 UTC 2012
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 <snitzer at redhat.com>
Ack
More information about the dm-devel
mailing list