Print

Print


When using an OSS plug-in  using the default OFS implementation, the OFS disables asynchronous reads if 'isCompressed' is not implemented by the OSS.

I suggest the default behaviour of the OFS to assume not compressed if the detection is not implemented (-EISDIR response by XrdOssDF).

```
XrdOfs.cc:
// Set compression values and activate the handle
//
if (oP.fP->isCompressed())
   {oP.hP->isCompressed = 1;
   dorawio = (open_mode & SFS_O_RAWIO ? 1 : 0);
}

```
```
XrdOss.hh:
virtual int isCompressed(char *cxidp=0) {(void)cxidp; return -EISDIR;}
```
Is there actually anything implemented with compression?

 



---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/219

########################################################################
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