virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [RFC] virtio_blk: add DISCARD support to virtio_blk driver
@ 2017-03-20  4:56 Changpeng Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Changpeng Liu @ 2017-03-20  4:56 UTC (permalink / raw)
  To: virtualization; +Cc: changpeng.liu

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [RFC] virtio_blk: add DISCARD support to virtio_blk driver
@ 2017-03-17  1:34 Changpeng Liu
  2017-03-20 15:28 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Changpeng Liu @ 2017-03-17  1:34 UTC (permalink / raw)
  To: virtualization; +Cc: changpeng.liu, mst

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-20 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20  4:56 [RFC] virtio_blk: add DISCARD support to virtio_blk driver Changpeng Liu
  -- strict thread matches above, loose matches on Subject: below --
2017-03-17  1:34 Changpeng Liu
2017-03-20 15:28 ` Stefan Hajnoczi

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).