glusterfs/xlators/features
Mohit Agrawal 88ecd64604 core: Brick is not able to detach successfully in brick_mux environment
Problem: In brick_mux environment, while volumes are stopped in a
         loop bricks are not detached successfully. Brick's are not
         detached because xprtrefcnt has not become 0 for detached brick.
         At the time of initiating brick detach process server_notify
         saves xprtrefcnt on detach brick and once counter has become
         0 then server_rpc_notify spawn a server_graph_janitor_threads
         for cleanup brick resources.xprtrefcnt has not become 0 because
         socket framework is not working due to assigning 0 as a fd for socket.
         In commit dc25d2c1ee
         there was a change in changelog fini to close htime_fd if htime_fd is not
         negative, by default htime_fd is 0 so it close 0 also.

Solution: Initialize htime_fd to -1 after just allocate changelog_priv
          by GF_CALLOC

> Fixes: bz#1699025
> Change-Id: I5f7ca62a0eb1c0510c3e9b880d6ab8af8d736a25
> Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
> (cherry picked from commit b777d83001d8006420b6c7d2d88fe68950aa7e00)

Change-Id: I7a2b6fc2d36405d51990376333e093661be48475
Fixes: bz#1699714
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
2019-04-16 10:55:51 +00:00
..
arbiter all: add xlator_api to many translators 2018-12-06 07:54:28 +00:00
barrier Multiple files: reduce work while under lock. 2019-01-29 09:27:22 +00:00
bit-rot feature/bitrot: Avoid thread creation if xlator is not enabled 2019-01-31 09:47:03 +00:00
changelog core: Brick is not able to detach successfully in brick_mux environment 2019-04-16 10:55:51 +00:00
cloudsync libglusterfs: Move devel headers under glusterfs directory 2018-12-05 21:47:04 +00:00
compress xlator: make 'xlator_api' mandatory 2018-12-13 14:41:50 +05:30
gfid-access all: handle USE_AFTER_FREE warnings 2018-12-20 06:26:37 +00:00
index afr/self-heal:Fix wrong type checking 2019-01-24 12:16:50 +00:00
leases leases: Reset lease_ctx->timer post deletion 2019-01-07 03:25:29 +00:00
locks Multiple files: reduce work while under lock. 2019-01-29 09:27:22 +00:00
marker all: add xlator_api to many translators 2018-12-06 07:54:28 +00:00
namespace xlator: make 'xlator_api' mandatory 2018-12-13 14:41:50 +05:30
quiesce core: Feature added to accept CidrIp in auth.allow 2019-01-18 17:13:13 +00:00
quota Multiple files: reduce work while under lock. 2019-01-29 09:27:22 +00:00
read-only Don't depend on string options to be valid always 2018-12-17 17:19:00 +00:00
sdfs features/sdfs: disable by default 2019-01-29 13:54:22 +00:00
selinux all: add xlator_api to many translators 2018-12-06 07:54:28 +00:00
shard features/shard: Ref shard inode while adding to fsync list 2019-01-24 18:14:57 +00:00
snapview-client features/snapview-client: access priv->path inside lock 2018-12-17 12:25:33 +00:00
snapview-server rpc: use address-family option from vol file 2019-01-22 13:47:19 +00:00
thin-arbiter rpm: add thin-arbiter package 2019-03-13 01:48:26 +00:00
trash all: add xlator_api to many translators 2018-12-06 07:54:28 +00:00
upcall all: add xlator_api to many translators 2018-12-06 07:54:28 +00:00
utime copy_file_range support in GlusterFS 2018-12-12 15:56:55 +00:00
Makefile.am glupy: remove from the build 2018-11-08 02:46:48 +00:00