Print

Print


For Applications like xrdcp or FUSE mounts it would be very beneficial to have an API like

      XRootDStatus Read( uint64_t         offset,
                         uint32_t         size,
                         int                  output_fd, 
                         uint64_t         output_offset,
                         ResponseHandler *handler,
                         uint16_t         timeout = 0 )
                         XRD_WARN_UNUSED_RESULT;

      XRootDStatus Write( uint64_t         offset,
                          uint32_t         size,
                          int                  input_fd, 
                          uint64_t         input_offset,
                          ResponseHandler *handler,
                          uint16_t         timeout = 0 )
                          XRD_WARN_UNUSED_RESULT;

This would allow to simplify the buffer management in particular with asynchronous callsbacks and avoids memory copy operations using splicing. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1117

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1