From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: dm-devel@redhat.com
Subject: discard on snapshot-origin target
Date: Fri, 20 May 2016 17:08:26 +0200 [thread overview]
Message-ID: <20160520150826.GG1171@mail-itl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 790 bytes --]
Hi,
Is it possible to enable DISCARD support for snapshot-origin target?
Currently it returns EOPNOTSUPP even if underlying device does support
it. I know there are some cases when it isn't desirable (for example
mkfs.ext4 discards the entire device, which would trigger copyout to the
snapshot), but I can live with that.
Or, if possible, better to prevent that copyout if discarded block(s)
were zeroed already. Which would handle the case of mkfs.ext4 on empty,
zeroed device.
I see that it may undesired in some cases, so maybe some configurable
option? Like module parameter or so?
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2016-05-20 15:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160520150826.GG1171@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.