Skip to content

v1.5.0

Compare
Choose a tag to compare
@mikechristie mikechristie released this 30 Jul 16:08

This is the 1.5.0 release of tcmu-runner.

Release notes:

  • This is mostly a bug fix release.
  • Yaowei Bai has been working on making libtcmu stable, but it is not yet completed in this release so the API may still change.

Ceph support notes:

HA setups should not be done manually with targetcli. The gwcli tool from ceph-iscsi or ceph dashboard is the preferred method. Setup and required setting documentation can be found here:

http://docs.ceph.com/docs/master/rbd/iscsi-overview/

Gluster support notes:

See https://github.com/gluster/gluster-block for gluster tools and instructions that should be used.

For all other handlers see the README.

Changes between 1.4.0 and 1.5.0:

Alex Reid (2):
Add method to query whether OOOC is supported
Follow coding style, move leading brace

Amar Tumballi (2):
tcmu-runner.spec: fix the rpm build errors
spec-file: further changes to take options to ignore dependencies

Bryant G. Ly (3):
tcmu: Simplify command completion
tcmu: Fix CMake to install file_optical
Fix unmap to handle refcount being 0

David Disseldorp (2):
cmake: drop rsyslog build time check
cmake: add a minor .so version number to libtcmu

Jason Dillaman (5):
file_zbc: fixed compile error under ppc64le
file_zbc: optionally build zbc handler
Optionally link against tcmalloc for improved small IO performance
extra: add gperftools-devel to install_dep script
cmake: set '-fno-builtin-XYZ' options when tcmalloc is used

Ken Dreyer (3):
rpm: use valid short name licenses in License field
rpm: remove %clean section
rpm: remove %defattr

Konstantin Kharlamov (1):
darray.h: avoid UB when decrementing zero pointer

Mathieu Parent (3):
Fix spelling s/reseting/resetting/
Fix spelling s/Igoring/Ignoring/
Add link to tcmu-runner manpage from tcmu-runner.service

Mike Christie (47):
Enable explicit alua support.
lib: Update tcmulib_command_complete comments
cfgfs: Add tcmu_cfgfs prefix to cfgfs lib functions
Use uin32_t instead of unsigned long for cfgfs lib function
Rename tcmu_set_control to match cfgfs lib functions
Drop tcmu_set_dev_size
Drop tcmu_get_dev_size
Rename tcmu_cfgfs_dev_get_attr to tcmu_cfgfs_dev_get_attr_int
Use uin32_t for cfgfs action values
Rename tcmu_get_wwn to tcmu_cfgfs_dev_get_wwn
Rename dev/nl block/reset cfgfs functions
Sync libtcmu dev get/set naming
Sync lbtmcu cmd and misc naming
Remove daemon priv hack
Build zbc/fbo with scsi.c
Move tcmu_get_runner_handler
Fix up configfs file not found error message
Call block/reset dev directly
Call block/reset nl directly
Switch some inotify messages from info to debug.
Drop cfg path variable
Fix 80 col formatting in def_log_path setup
Check if device is opened before calling handler
Fix pthread error handling
Drop in_lock_thread from __tcmu_reopen_dev
Allow some commands to run while taking lock
Drop is_sync arg from tcmu_acquire_dev_lock
runner: fix crash during compound command execution
libtcmu: Allow handlers to allocate n bytes with each command
rename tcmur tcmulib command completion function
runner: fix up callout return info
Add tcmu-runner cmd completion function
Set handle_caw_read_cbk in caw_init_readcmd
Set write_verify cbks in write_verify_init
runner: unbind aio code from tcmulib_cmd
Cleanup runner callout definitions
tcmu-runner: simplify format unit io limit check
Prep for separating runner fields from tcmulib_cmd
Add tcmur-runner cmd struct
Convert runner handlers and core code to tcmur_cmd
Drop unused tcmulib_cmd code
Check for optional handler callouts
lib/runner: Add helpers to convert lbas and bytes
Log timed out commands
Don't install headers.
Disable explicit alua support.
Bump version to 1.5.0.

Prasanna Kumar Kalever (21):
systemd: start rsyslog.service before tcmu-runner.service
spec: add rsyslog to requires list
cmake: add rsyslog to dependencies list
spec: remove changelog
logger: check for -1 return value on open
inotify: watch the directory not just file
config: cleanup few allocations and naming
logger-init: honor the defaults when config key:value pair is commented
config: deprecate tcmu_parse_config
main: organize the cleanup sequence
dyn-logger-config: honor the precedence
daemon: log start/exit msgs with crit level
doc: update readme
cmake_install: backup old tcmu.conf version as tcmu.conf.old
load_config: retry opening conf-file if the initial attempt fail
logger: skip resetting options if they match with current
format-security: fix snprintf usage
tcmu: link libtcmalloc with libtcmu and handlers
tcmu: reconfig_device convert err log to debug
api: tcmu_cdb_print_info convert err log to debug
reconfig_device: add request cfg type to logs

Sebastian Herbszt (2):
Fix parameter for tcmu_setup_log()
Validate input for tcmu_log_dir_check()

Xiubo Li (26):
api: add zeroed iov check support
glfs: add writesame support
tcmur: fix the unmap logging format
logrotate: add logrotate support for tcmu-runner-glfs.log
libtcmu: remove useless parameter in remove_device
logger: add critical log level support
config: do not update the logdir when it's commented in conf
libtcmu: carve-out library packages separately
config: clean up the code
README: update and add the make_runnerrpm.sh info
logrotate: fix the install cmake file
logrotate: do not overwrite the exist config file
spec: fix building error
tcmu: clean up the code
glfs: add gfapi version check
glfs: fix build error for GFAPI version check
logrotate: fix duplicate log entry error
lockfile: switch to use /run/tcmu.lock
README: update to add uninstall
glfs: update the glfs logdir
libtcmu_time: void header file include muti-times
spec: switch to use rpm conditional switches
spec: pass the tcmalloc option to cmake command
spec: update the spec file to fix the build error
spec: track backuped files
tcmur: remove useless code

Yaowei Bai (8):
libtcmu: explicitly include tcmu-runner.h where necessary
libtcmu_priv.h: drop unnecessary header files
libtcmu_log: get subtype from tcmulib_handler
libtcmu: declare tcmu_cancel_thread in libtcmu_common.h
libtcmu: move SCSI helpers out of libtcmu
libtcmu: move tcmu_get_runner_handler into scsi.c
Revert "build: drop versionless libtcmu.so symlink"
Partial revert of "libtcmu: do not install headers and drop libtcmu stable API"

peng.liang (10):
main: load_our_module maybe failure but can't sensed
libtcmu: setup_netlink maybe failure but can't sensed
rbd: fix the error ret in tcmu_rbd_unlock
Fix pthread error ret
configfs: clean up the code
fix typo in code
configfs: fix index out of bounds
fbo: fix mutex destroy
tcmur: fix free of xcopy parse
alua: fix pthread attr destroy

tangwenji (1):
tcmu:fix extra backslash

李明辉10144360 (1):
Drop sense arg from tcmu_explicit_transition