Not WorkspaceOps::fd_write_constrained_io still requires the number of bytes written to be returned (given, in this case, a subset of the provided buffer can be written). Hence the fd_write function at the transaction level shouldn't change it signature (given it is used by both WorkspaceOps::fd_write and WorkspaceOps::fd_write_constrained_io)
see https://github.com/Scille/parsec-cloud/pull/7937#discussion_r1724280329
so signature should be changed to:
Not
WorkspaceOps::fd_write_constrained_io
still requires the number of bytes written to be returned (given, in this case, a subset of the provided buffer can be written). Hence thefd_write
function at the transaction level shouldn't change it signature (given it is used by bothWorkspaceOps::fd_write
andWorkspaceOps::fd_write_constrained_io
)