[Devel] [PATCH rh7 0/2] ploop: improve the performance of submit_alloc path

Maxim Patlasov mpatlasov at virtuozzo.com
Sun Mar 13 14:10:54 PDT 2016


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 <mpatlasov at 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


More information about the Devel mailing list