[Libguestfs] [libguestfs PATCH 0/2] lift protocol limit on guestfs_readdir()

Laszlo Ersek lersek at redhat.com
Sun May 1 07:04:39 UTC 2022


Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1674392

Remove the GUESTFS_MESSAGE_MAX protocol limit from the last remaining
"high-profile" API, guestfs_readdir().

A fast reproducer is in
<https://bugzilla.redhat.com/show_bug.cgi?id=1674392#c27>.

Thanks
Laszlo

Laszlo Ersek (2):
  guestfs_readdir(): rewrite with FileOut transfer, to lift protocol
    limit
  guestfs_readdir(): minimize the number of send_file_write() calls

 TODO                      |   8 -
 daemon/readdir.c          | 156 ++++++++++++--------
 generator/actions_core.ml | 127 ++++++++--------
 generator/proc_nr.ml      |   2 +-
 lib/Makefile.am           |   1 +
 lib/readdir.c             | 131 ++++++++++++++++
 6 files changed, 291 insertions(+), 134 deletions(-)
 create mode 100644 lib/readdir.c


base-commit: 0956e8e0c5b70e79a01f43046ac7be2b9a171ed8
-- 
2.19.1.3.g30247aa5d201



More information about the Libguestfs mailing list