[Devel] [PATCH rh7 00/12] ploop: Add online discard support for dio engine

Kirill Tkhai ktkhai at virtuozzo.com
Fri Mar 1 18:13:19 MSK 2019


The first part of patchset is preparations to make code
a bit readable.

The second part adds online discard support for dio engine.
DIO engine tracks entents, so discard code will use that
for its needs.

https://pmc.acronis.com/browse/VSTOR-19972

---

Kirill Tkhai (12):
      ploop: introduce dio_may_fallocate() helper
      ploop: Export whole_block()
      ploop: Add cluster_size_in_bytes() helper
      ploop: Add cluster_size_in_sec() helper
      ploop: Add local variable into dio_submit()
      ploop: Add cluster_log local variable
      ploop: Add trim_extent_mappings_tail() helper
      ploop: Introduce local variable in ploop_start()
      ploop: Never merge discard requests
      ploop: Set up discard limits
      ploop: Introduce ploop_can_issue_discard() helper
      ploop: Online discard support for dio engine


 drivers/block/ploop/dev.c           |  114 ++++++++++++++++++-----------------
 drivers/block/ploop/fmt_raw.c       |    9 ++-
 drivers/block/ploop/io_direct.c     |   81 ++++++++++++++++++-------
 drivers/block/ploop/io_direct_map.c |   73 ++++++++++++++++++++--
 drivers/block/ploop/io_direct_map.h |   13 +++-
 drivers/block/ploop/io_kaio.c       |    9 +--
 drivers/block/ploop/sysfs.c         |    2 -
 include/linux/ploop/ploop.h         |   30 +++++++++
 8 files changed, 232 insertions(+), 99 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the Devel mailing list