Description of problem: After setting the volume option user.cifs/user.smb to enable or disable , the hook scripts are getting executed with some delay(few seconds) and the share entry from smb.conf gets removed or added with the delay and not immediately as we set the option. In previous releases , the smb.conf used to get updated as soon as we execute the command gluster volume set. Already verified that once the hook script gets the instruction, it executes the command within 1 sec, the delay is between executing teh vol set command and execution of hook script. Version-Release number of selected component (if applicable): glusterfs-3.7.1-9.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1.create a volume 2.start, do volume set 3. check testparm/smb.conf for the share entry immediately after executing command Actual results: it takes few seconds delay to execute hook script after executing vol set. Expected results: as per pre Additional info:
Expected results: as per previous releases as soon as volume set command is executed , the hook scripts gets executed and share entry gets updated for smb.conf.