[Devel] [PATCH RH7 0/3] ploop: Add direct queuing support for io_kaio

Kirill Tkhai ktkhai at virtuozzo.com
Wed Jun 17 19:09:19 MSK 2020


This introduces a possibility to dispath incomming request directly
from ploop_make_request() without waking ploop thread up. We queue
bio in case of it fits in a single extent (like fastpath for io_direct).
To get the target bio location, ext4 extent tree is used.

Currently, some sanity checks are missed, so that makes ploop file
unsafe for touching by side software (like we have in io_direct).
But this patchset is mostly for a view of testing improvements,
and one else will go on top of this.
---

Kirill Tkhai (3):
      ext4: Extract logic from ext4_overwrite_io() to underlining function
      ext4: Introduce ext4_fastmap()
      ploop: Introduce fastpath for io_kaio


 drivers/block/ploop/io_kaio.c |   73 +++++++++++++++++++++++++++++++++++++++++
 fs/ext4/ext4.h                |    3 ++
 fs/ext4/file.c                |   44 ++++++++++++++++++++-----
 fs/ext4/inode.c               |    3 ++
 include/linux/fs.h            |    1 +
 5 files changed, 116 insertions(+), 8 deletions(-)

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



More information about the Devel mailing list