# changelog

author: Tiger Yang <tiger.yang@oracle.com> - 5.6-1
changelog:
  - doc: Added release 5.6 notes
  - glusterd: fix txn-id mem leak
  - cluster-syncop: avoid duplicate unlock of inodelk/entrylk
  - glusterfsd: Multiple shd processes are spawned on brick_mux environment
  - logging: Fix GF_LOG_OCCASSIONALLY API
  - client-rpc: Fix the payload being sent on the wire
  - cluster/dht: Fix lookup selfheal and rmdir race
  - gfapi: Unblock epoll thread for upcall processing


author: Tiger Yang <tiger.yang@oracle.com> - 5.5-1
changelog:
  - doc: Added release notes for 5.5
  - eventsapi: Fix error while handling GlusterCmdException
  - cluster/afr: Send truncate on arbiter brick from SHD
  - core: make compute_cksum function op_version compatible
  - dict: handle STR_OLD data type in xdr conversions


author: Tiger Yang <tiger.yang@oracle.com> - 5.4-1
changelog:
  - doc: Added release notes for release 5.4
  - eventsapi: Fix Python3 compatibility issues
  - packaging: Obsoleting glusterfs-gnfs for upgrade
  - socket: socket event handlers now return void
  - fuse: reflect the actual default for lru-limit option
  - performance/write-behind: fix use-after-free in readdirp
  - performance/write-behind: handle call-stub leaks
  - md-cache: Adapt integer data types to avoid integer overflow
  - cluster/thin-arbiter: Consider thin-arbiter before marking new entry changelog


author: Tiger Yang <tiger.yang@oracle.com> - 5.3-1
changelog:
  - doc: Release notes for 5.3
  - fuse: add --lru-limit option
  - features/shard: Fix launch of multiple synctasks for background deletion
  - features/shard: Assign fop id during background deletion to prevent excessive logging
  - leases: Reset lease_ctx->timer post deletion
  - core: Fixed typos in nl-cache and logging-guidelines.md
  - gfapi: Access fs->oldvolfile under mutex lock
  - io-cache: xdata needs to be passed for readv operations
  - geo-rep: Fix syncing of files with non-ascii filenames
  - cluster/dht: sync brick root perms on add brick
  - performance/rda:  Fixed dict_t memory leak
  - shard: prevent segfault in shard_unlink_block_inode()
  - tests: Fix zero-flag.t script


author: Tiger Yang <tiger.yang@oracle.com> - 5.2-1
changelog:
  - samba: Gluster hooks for Samba config without kernel share mode
  - Initial revision for oracle-gluster-5


author: Tiger Yang <tiger.yang@oracle.com> - 0.3-3.el7
changelog:
  - merge upstream and build 0.3-3 (Tiger Yang)  
  - cli: add timeout option (Prasanna Kumar Kalever)  
  - Minor fixes (#176) (Prasanna Kumar Kalever)  
  - cli: support env variable way of controlling GB_CLI_TIMEOUT (Prasanna Kumar Kalever)  
  - cli-timeout: make rpc-timeout as configurable option (Prasanna Kumar Kalever)  
  - coverity: fix multiple issues (#172) (Amar Tumballi)  
  - coverity: fix pointless_string_compare issues (#171) (Amar Tumballi)  
  - loadConfig: retry opening conf-file if the initial attempt fail (Prasanna Kumar Kalever)  
  - cli: push output to stderr if remote rpc return non-zero (Prasanna Kumar Kalever)  
  - all: fix high severity issues from coverity (#162) (Amar Tumballi)  
  - gluster-blockd: defend for NULL to avoid crash (Xiubo Li)  
  - cli: clean up the code style (Xiubo Li)  
  - gluster-blockd: support volfile server (discovery service) setting through Env (#161) (Prasanna Kumar Kalever)  
  - genconfig: add load balance support (Xiubo Li)  
  - list: ignore all the invalid files (Xiubo Li)  
  - README: update the multipath.conf detail for load-balance support (Xiubo Li)  
  - daemon: change minimum rhel kernel version to 3.10.0-862.14.4 (Prasanna Kumar Kalever)  
  - gbMinKernelVersionCheck: rename variable name 'out' with 'distro' (Prasanna Kumar Kalever)  
  - dyn-config: read the config file line by line instead of allocating a fixed 32K buffer (Xiubo Li)  
  - dyn-config: fix memleak for GB_LOG_LEVEL (Xiubo Li)  
  - gluster-block: dump all failure msgs to stderr (Prasanna Kumar Kalever)  
  - Fix memleak for errMsg (Xiubo Li)  
  - audit: reduce indentation for smoother flow (#133) (Michael Adam)  
  - all: fix build warnings (Amar Tumballi)  
  - spec-file: fix the error in changelog date (#139) (Amar Tumballi)  
  - build: move Dockerfile.buildtest to ./extras/docker/ (#143) (Prasanna Kumar Kalever)  
  - Add travis-integration for build verification using docker (#142) (Michael Adam)  
  - systemd: clear the target config only when tcmu-runner is running (Prasanna Kumar Kalever)  
  - scripts: use TCMU_LOGDIR instead of GB_LOGDIR (Prasanna Kumar Kalever)  
  - upgrade-script: clean status file on source and rpm uninstall (Prasanna Kumar Kalever)  
  - upgrade-script: Makefile and rpm spec file changes (Prasanna Kumar Kalever)  
  - extras: add a script for upgrade time activities (Prasanna Kumar Kalever)  
  - doc: update documentation about 'no-remote-rpc' option (Prasanna Kumar Kalever)  
  - daemon: add 'no-remote-rpc' option (Prasanna Kumar Kalever)  
  - replace-node: update PRIOPATH at metadata when it match with old-node (Prasanna Kumar Kalever)  
  - README: update the doc for helper (Xiubo Li)  
  - doc: man page update (Xiubo Li)  
  - genconfig: add helper info (Xiubo Li)  
  - genconfig: with old blocks use first valid ipaddr from metadata as PRIOPATH (Prasanna Kumar Kalever)  
  - daemon: defend on minimum recommended kernel version (Prasanna Kumar Kalever)  
  - Auditlog Feature (Bhumika Goyal)  
  - lru: glfslruCount add config dynamic reloading support (Xiubo Li)  
  - logging: add config dynamic reloading support (Xiubo Li)  
  - gluster-block: update .gitignore (Xiubo Li)  
  - create: fix iscsi iqn validation check error (Xiubo Li)  
  - resize: fix errCode overriding (Prasanna Kumar Kalever)  
  - meta: reserve 10M space for meta-data store (Prasanna Kumar Kalever)


author: Tiger Yang <tiger.yang@oracle.com> - 1.4.0-1
changelog:
  - tcmu-runner: bump version to 1.4.0
  - Disable explicit alua support.
  - Merge pull request #482 from lxbsz/dyn3
  - logger: notification on changing the options for dynamic reloading
  - logger: update .gitignore for logrotate.conf_install.cmake
  - logger: fix the return value
  - Merge pull request #480 from mikechristie/log-fixes
  - Sync sig handler naming.
  - Add logrotate support
  - Move starting log message.
  - Allow log file restart from SIGHUP
  - Simplify log outputs
  - Simplify tcmu_logbuf init
  - make config watcher optional
  - log/config: limit callers that can set the log dir
  - logger: return errno instead of bool
  - misc logcleanup
  - Fix logger thread race
  - Log rb cleanup
  - log: move tcmu_logbuf->finish_initialize into logbuf lock/unlock
  - tcmu-runner: add Starting log info
  - Merge pull request #477 from mikechristie/lock-bounce-fixes
  - Merge pull request #469 from mikechristie/io-size-fixes
  - runner/rbd: do not set lock metadata if not needed
  - runner: don't drop iscsi connection on lock fence errors
  - runner: print lio name and not the uio name
  - libtcmu: fix max unmap definition
  - rbd: increase xcopy IO size
  - tcmu-runner: set default internal xcopy limits based on max xfer len
  - libtcmu: add helpers for xcopy read/writes
  - runner/rbd: pass unmap segments directly to handler
  - rbd: set unmap limits based on object size
  - runner: allow handler to override max unmap len limit
  - runner: allow handlers to override default unmap limits
  - Change alua transition in process message to a debug
  - Add newline to alua lock messages.
  - rbd: fix llu vs PRIu64 use for len/off
  - Merge pull request #464 from DavidButterfield/master
  - Merge pull request #472 from mikechristie/fix-infin-break-lock
  - runner: reopen dev right away if we know we had the lock and lost it
  - runner: fix double log message
  - runner: fix double close/free
  - Merge pull request #471 from mikechristie/fix-implicit-lock-state
  - Do not return alua state transition
  - runner/rbd: update lock state on RTPG/INQUIRY
  - format string as ("%s", buf) instead of (buf)
  - add checking of logging formats vs. arguments
  - Merge pull request #467 from tangwenji/fix_max_seg_and_tgt_desc_num
  - Merge pull request #466 from tangwenji/fix_cscd_min_len
  - Merge pull request #465 from tangwenji/fix_sa_xcopy
  - libtcmu: add additonal sense code for xcopy
  - tcmur: fix the minimum of cscd descriptors list length
  - tcmur: differentiate various sa in the xcopy command
  - Merge pull request #459 from lxbsz/fix_code_style
  - tcmur: fix the max length of caw command
  - Merge pull request #462 from tangwenji/fix_sense_valid
  - Merge pull request #463 from damien-lemoal/master
  - file_zbc: Fixed write error checking
  - libtcmu:fix valid field in sense data
  - tcmu-runner: fix the code style
  - Merge pull request #458 from tangwenji/fix_caw_zero_length
  - tcmur:fix number of logical blocks is zero in caw command
  - Fix compilation error due to iovec definition duplication
  - Merge pull request #456 from pkalever/loglevel
  - Merge pull request #457 from tangwenji/fix_formart_character
  - tcmur:fix format character on handle_writesame_check
  - glfs: set loglevel to INFO
  - Merge pull request #455 from tangwenji/fix_recovery_del_node
  - Merge pull request #453 from tangwenji/fix_free_io_watch
  - Merge pull request #454 from tangwenji/fix_acquire_dev_lock
  - target:delete device node from devs before reopen device
  - tcmur:fix the initial value of the return var
  - main:remove source and decrements the reference count of the GIOChannel
  - Merge pull request #451 from dillaman/wip-rbd-device-classes
  - rbd: detect pools associated to NVMe device class
  - Merge pull request #409 from lxbsz/rpm_error
  - spec: force to install tcmu.conf in buildroot
  - Merge pull request #450 from lxbsz/spec1
  - spec: fix rpm package build error
  - Merge pull request #448 from Gangbiao/lgb-devel
  - To enhance the reuseability of code, move function 'tcmu_cancel_thread' from 'main.c' to 'api.c'
  - tcmu-runner: fix bug in HA about re-acquire lock
  - Fix compilation errors
  - Merge pull request #402 from lxbsz/reset_netlink
  - Merge pull request #446 from DavidButterfield/master
  - glfs: add discard support
  - improve tcmu-runner behavior under valgrind
  - Improve generality of tcmu_dev_{err,warn,...}
  - tcmu-runner: add reset netlink support
  - configfs: add CFGFS_TARGET_MOD macro
  - Merge pull request #443 from damien-lemoal/master
  - file_zbc: correctly handle iovec seek
  - Merge pull request #437 from lxbsz/glfs1
  - glfs: allow the backend file size not aligns to the block_size
  - Fix tarball release location
  - Merge pull request #433 from lxbsz/cmakelist
  - CMakeList: fix missing file for static library
  - Merge pull request #430 from lxbsz/main_syms
  - main-syms: remove tcmu_cancel_thread
  - Merge pull request #429 from lxbsz/config_fix1
  - Merge pull request #428 from lxbsz/conf_fix
  - config: fix parse error when there has no space after '='
  - config: make the struct data invisible
  - config: fix the log message and clean up the code
  - Merge pull request #425 from mikechristie/relicense
  - Merge pull request #368 from lxbsz/logdir_dyn
  - log: do not insert the CDB debug logs to ringbuffer
  - config: add the logdir option dynamic reloading support
  - config: fix memory leak of cfg->log_dir_path
  - config: reset to boolean default values after the options being set
  - config: reset to str default values after the options being set
  - Merge pull request #424 from lxbsz/lock
  - alua: allow handlers missing lock routine
  - Change license to Apache 2 or LGPLv2.1
  - Add LGPL license file
  - Rename license file
  - Merge pull request #418 from pkalever/lockfile
  - runner: don't allow multiple instances of daemon to run
  - Merge pull request #415 from tjakob/master
  - Merge pull request #417 from lxbsz/alua_log_fix1
  - alua: reduce the debug logs
  - Merge pull request #403 from lxbsz/task_full
  - api: list all the cdb data for unsupported SCSI commands
  - rbd: new option for specifying the id
  - tcmu-runner: bump version to 1.4.0-rc1
  - Merge pull request #413 from mikechristie/return-codes
  - update docs for TCMU_STS codes
  - cleanup unused sense buf uses
  - Move SCSI sense defs to zbc
  - Cleanup tcmulib_command_complete
  - Drop info arg from tcmu_set_sense_data
  - Convert ASC_NOT_READY_FORMAT_IN_PROGRESS
  - Convert simple fbo cases to TCMU_STS
  - Convert rbd alua/lock to use TCMU_STS
  - Convert alua sense/status
  - Convert simple sense/status cases
  - Convert ASC_MISCOMPARE_DURING_VERIFY_OPERATION to TCMU_STS_MISCOMPARE
  - Convert ASC_INTERNAL_TARGET_FAILURE
  - Convert ASC_LBA_OUT_OF_RANGE to TCMU_STS_RANGE
  - Convert SAM_STAT_TASK_SET_FULL to TCMU_STS_NO_RESOURCE
  - Convert SAM_STAT_GOOD to TCMU_STS_OK
  - Convert TCMU_ASYNC_HANDLED to TCMU_STS_ASYNC_HANDLED
  - Convert TCMU_NOT_HANDLED to TCMU_STS_NOT_HANDLED
  - Sync up error codes
  - Merge pull request #407 from mikechristie/explicit-fo
  - rbd/runner: remove get_lock_state
  - rbd: get/set lock tag
  - runner: get/set remote alua group info
  - add back explicit failover support
  - runner: separate connection errros from fence ones
  - runner: return lock state after update
  - runner: add new lock states
  - runner: add helper to set alua ints
  - runner: allow tcmu_acquire_dev_lock to be called from cmd handler
  - runner: make reopen retries configurable
  - Merge pull request #405 from letterwuyu/master
  - Merge pull request #408 from lxbsz/gitignore1
  - fix the memory cross boundary bug in tcmu_rbd_detect_device_class
  - gitignore: ignore extra/rpmbuild
  - Merge pull request #406 from baihuahua/dev
  - libtcmu: drop duplicated ";"
  - Merge pull request #401 from pkalever/retvalue
  - tcmur: fix ret value in tcmur_dev_update_size
  - Merge pull request #399 from tangwenji/fix_reopen
  - fix the condition of sleep in _tcmu_reopen_dev
  - Merge pull request #398 from lxbsz/config_fix
  - config: reset to default values after the options being set
  - Merge pull request #392 from dillaman/wip-batch-wake-ups
  - tcmur: batch kernel wake up notifications
  - Merge pull request #391 from lxbsz/log1
  - tcmu-runner: improve the logging always to get daemon's exit state
  - Merge pull request #382 from lxbsz/glfs_resize
  - Merge pull request #389 from tangwenji/fix_rbd_parse_cfg
  - rbd:fix parse cfgstring optional options
  - Merge pull request #388 from pengliang233/fix-goto
  - Merge pull request #386 from tangwenji/fix_free_manager
  - Merge pull request #385 from tangwenji/fix_rbd_cfg_optional
  - main: fix error goto
  - tcmu-runner:fix free manager
  - rbd:Parsing option 'conf=' error
  - glfs: reopen on connection lost
  - libtcmu: Add tcmu flags and size setting helpers support
  - Merge pull request #383 from pengliang233/fix-ret
  - conifg: fix error ret
  - rbd: fix coding style and compilation error
  - Merge pull request #365 from umuzhaohui/wip-fix-1
  - tcmu-runner: fix bug in EXTENDED_COPY command
  - tcmu-runner: fix bug in COMPARE_AND_WRITE command
  - Merge pull request #378 from lxbsz/reset_ring
  - Merge pull request #381 from lxbsz/fix_members
  - libtcmu: add tcmu_is_ring_reset_support support
  - configfs: remove null chars in the string readed from the sys files
  - Merge pull request #375 from dmitry-fomichev/master
  - Set correct sense upon getting write to FULL zone
  - Add installation action for file_zbc handler
  - zbc: fix maximum number of open zones
  - zbc: fix write emulation
  - Merge pull request #376 from draghuram/doc
  - Fixed build procedure in README.
  - Merge pull request #373 from lxbsz/fix_log_missing
  - Merge pull request #372 from pkalever/size_checks
  - logging: improve log details
  - log: bypass the log ring buffer for file and std outputs
  - glfs: remove size checks in handler
  - Merge pull request #370 from ddiss/factory_pkg_1.3
  - build: drop versionless libtcmu.so symlink
  - api: avoid compiler -Werror=return-type failures
  - Merge pull request #367 from lxbsz/extra1
  - extra: Add make_runnerrpms.sh support
  - Merge pull request #355 from zhuozh/fix_lock_treshing
  - Merge pull request #357 from lxbsz/update_glfs1
  - glfs: update the glfs config descritions and add usage of creation
  - handler: do not perform implicit transition if command not supported


author: Tiger Yang <tiger.yang@oracle.com> - 1.6.3-1
changelog:
  - Export authnone_create_dummy for error handling in Ganesha
  - xdr_ioq: fix memory leak on FreeBSD
  - Don't let a newly created xprt be cleaned
  - xdr_bytes_decode - only free if we allocated
  - Only unlock when we actually locked
  - Merge pull request #139 from zhoury14/v1.6
  - fix CLSET_VERS/CLSET_PROG in cln_dg clnt_vc clnt_rdma


