Skip to content

Releases: westerndigitalcorporation/libzbc

Version 5.8.5

09 Mar 05:51
Compare
Choose a tag to compare

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

25 Jan 00:43
Compare
Choose a tag to compare

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

12 Dec 16:50
Compare
Choose a tag to compare

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

03 Sep 00:06
Compare
Choose a tag to compare

Version 5.8.1 inadvertently removed gzbc tool. This version correctly restores it.

Version 5.8.1

02 Sep 06:38
Compare
Choose a tag to compare

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

20 Jun 02:20
Compare
Choose a tag to compare

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

03 Jan 02:15
Compare
Choose a tag to compare

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

08 Nov 06:28
Compare
Choose a tag to compare

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

04 Oct 01:09
Compare
Choose a tag to compare

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

02 Oct 01:55
Compare
Choose a tag to compare

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