-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Labels
bugThis addresses a bugThis addresses a bug
Description
Currently the autodeflate setup code looks like this:
switch (autodeflate) {
...
#if defined(HAVE_LZO)
case COMPRESS_LZO1X:
compressorname = COMPRESSOR_NAME_LZO;
break; // nothing is set up; is this intentional ?
#endif
case COMPRESS_FZFZ:
compressorname = COMPRESSOR_NAME_FZLZ;
[[fallthrough]];
case COMPRESS_FZ4L:
compressorname = COMPRESSOR_NAME_FZ4L;
[[fallthrough]];
case COMPRESS_FZ4H: {
compressorname = COMPRESSOR_NAME_FZ4H; // compressor name is always overriden to FZ4H
...
}
...
}
Jmsg(ctx, M_INFO, T_("autoxflate-sd: Compressor on device %s is %s\n"),
dcr->dev_name, compressorname);We need to
- Check if lzo compression works
- Fix the compressor name output if any FZ* algorithm is chosen.
This can easily be done by checkingcompressorname == COMPRESSOR_NAME_UNSETbefore each assignment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis addresses a bugThis addresses a bug