XrdSfsXio.hh
This class is used to allow file I/O interfaces to perform exchange buffer I/O in order to minimize data copying. When this feature is enabled, the XrdSfsInterface::setXio() method is called on a newly created XrdSfsFile object. Ideally, all oustanding buffers should be be released when the file is closed. Alternatively, the XrdSfsXioHandle::Recycle() method may be used at any time when it is convenient to do so. For best performance, use XrdSfsXio::Swap() as it provides memory locality and is kind to the cache. Buffer swapping is only supported for file write operations. The XrdSfsXioHandle class describes a handle to a buffer returned by XrdSfsXio::Swap().