Instead of using pagecache_write_begin/pagecache_write_end method, it is
beneficial to preallocate space, then write data directly to block-device,
then convert uninitialized extents (ext4) explicitly.

The following series implements:
 - a preparation patch replcacing BLOCK_UNINIT with em->uninit
 - a patch implementing performance improvement

https://jira.sw.ru/browse/PSBM-22381

Signed-off-by: Maxim Patlasov <mpatla...@virtuozzo.com>
---

Maxim Patlasov (2):
      ploop: replace BLOCK_UNINIT
      ploop: use FALLOC_FL_CONVERT_UNWRITTEN in io_direct


 drivers/block/ploop/dev.c           |    7 +++++
 drivers/block/ploop/io_direct.c     |   52 ++++++++++++++++++++++++++++++-----
 drivers/block/ploop/io_direct_map.c |    6 ++--
 drivers/block/ploop/io_direct_map.h |    4 +--
 include/linux/ploop/ploop.h         |    6 ++++
 5 files changed, 62 insertions(+), 13 deletions(-)

--
Signature
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to