virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Changpeng Liu <changpeng.liu@intel.com>
To: virtualization@lists.linux-foundation.org
Cc: changpeng.liu@intel.com, mst@redhat.com
Subject: [RFC] virtio_blk: add DISCARD support to virtio_blk driver
Date: Fri, 17 Mar 2017 09:34:39 +0800	[thread overview]
Message-ID: <1489714479-4002-1-git-send-email-changpeng.liu@intel.com> (raw)

Currently virtio_blk driver does not provide discard feature
flag, so the filesystems which built on top of the block device
will not send discard command. This is okay for HDD backend, but
it will impact the performance for SSD backend.

Add a feature flag such as VIRTIO_BLK_F_DISCARD to virtio_blk driver
is very straightforward, but it will extend the exist virtio_blk
protocol, I'm preparing to add this feature, before that, I'd like
to get comments or suggestions from community.

---
1.9.3

             reply	other threads:[~2017-03-17  1:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17  1:34 Changpeng Liu [this message]
2017-03-20 15:28 ` [RFC] virtio_blk: add DISCARD support to virtio_blk driver Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2017-03-20  4:56 Changpeng Liu

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=1489714479-4002-1-git-send-email-changpeng.liu@intel.com \
    --to=changpeng.liu@intel.com \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).