Releases: westerndigitalcorporation/libzbc
Version 5.8.5
In this release, the following changes and fixes are added:
- Fix potential IO error for large IO requests with a buffer not page aligned.
- Fix file headers license and copyright information to satisfy the REUSE specification.
- Modifications to the block backens driver to support the new ioctl() commands introduced in kernel 5.5 (zone open, close and finish ioctls).
Version 5.8.4
This release fixes several bugs:
- zbc_device_is_zoned() does not use a device real path as given by zbc_realpath(), causing problems with symbolic links
- Better handling of sense data reporting feature on ATA drives: some drives do not accept setting this feature causing zbc_open() to fail. Fix this by testing first if the feature is already enabled instead of blindly setting it.
- Fix zbc_write_zone tool not writing any data to a zone due to a loop control error
- Improve configure dependencies detection for GTK3
Version 5.8.3
This release fixes a bug in gzviewer and compilation warnings. It also adds the --disable-gui configuration option to allow manually disabling the compilation of GUI tools (gzbc and gzviewer).
Version 5.8.2
Version 5.8.1 inadvertently removed gzbc tool. This version correctly restores it.
Version 5.8.1
This release fixes a couple of bugs and introduces the new gzviewer application
- Fix SG IO header dxfer_len field to avoid failures of vectored IOs with more than a single vector.
- Change error code returned by zbc_preadv() and zbc_pwritev() from -EINVAL to -EIO in the case of an an unaligned IO request. This change matches the kernel returned error value.
- New gzviewer tool to graphically display a device zone state
Version 5.8.0
This new release adds the new functions zbc_preadv() and zbc_pwritev() to support vectored read and write. The zbc_read_zone and zbc_write_zone tools are also updated to allow using these new functions with the new -vio option. Various bug fixes are also included.
- Fix sense data processing to correctly report correct error codes with some HBAs
- Various fixes to the gzbc application
- Make sure to always follow symlinks for the path specified with zbc_open()
- Fix a memory leak in the block backend driver
Version 5.7.3
This minor release introduces changes to the zbc_errno() function to be thread safe, allowing error codes for the last failed command to be preserved per thread.
Version 5.7.2
This release introduces improved compatibility tests and fixes a problem with the detection of the maximum command size on some HBAs.
Version 5.7.1
This release addresses a problem with the number of sectors read from a sequential zone by the zbc_read_zone tool. No changes to the library itself.
Version 5.7.0
This release introduces the following changes and fixes:
- Change the behavior of zbc_open() to return an error when trying to open a regular block device that was not initialized for the emulation mode using the zbc_set_zones tool.
- Fix the initialization of the maximum I/O size
- Various tests fixes (reinstating of removed tests and changes to expected ASC/ASCQ error codes)
- Update bug report contact addresses