Bug 767087 - log the values of the xlator options in the init function
Summary: log the values of the xlator options in the init function
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vivek Agarwal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-12-13 08:08 UTC by Raghavendra Bhat
Modified: 2016-02-18 00:02 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 18:03:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: glusterfs-3.3.0qa40
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Bhat 2011-12-13 08:08:47 UTC
Description of problem:

At the init of each xlator the values of the options should be logged in the log file, whether the option is provided by the user or default. It helps understanding the behavior of the volume. 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2012-02-09 16:00:17 UTC
CHANGE: http://review.gluster.com/2647 (core: log xlator options in init) merged in master by Vijay Bellur (vijay)

Comment 2 Raghavendra Bhat 2012-05-10 06:12:07 UTC
[2012-05-10 11:39:56.747634] D [client.c:2299:client_init_rpc] 0-mirror-client-5: client init successful
[2012-05-10 11:39:56.747648] D [client.c:2324:client_init_grace_timer] 0-mirror-client-4: lk-heal = off
[2012-05-10 11:39:56.747657] D [client.c:2335:client_init_grace_timer] 0-mirror-client-4: Client grace timeout value = 10
[2012-05-10 11:39:56.747668] D [options.c:1053:xlator_option_init_path] 0-mirror-client-4: option remote-subvolume using set value /mnt/sda8/export4


Checked with glusterfs-3.3.0qa40 and the values of different options of the xlators are printed in the log file in the DEBUG mode.


Note You need to log in before you can comment on or make changes to this bug.