diff options
author | Amar Tumballi <amarts@redhat.com> | 2018-10-17 23:03:04 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-11-02 06:24:47 +0000 |
commit | c2a543ec947ac56f882a9c0a890f49c63dedeaff (patch) | |
tree | a4c42a711699ca7591d4cea0c3bcc6926ed98f17 /xlators/performance/md-cache | |
parent | 55a6ba56bea9ec0d3316c005300c514ea3ab0e54 (diff) |
xlator: add generic option parsing framework
As an example, and also as an enhancement, added 'log-level'
as a default option to every translator (glusterfs already
support infrastructure to handle xl->loglevel).
Corresponding infrastructure to add per xlator log-level
is not present in glusterd volume-set. Plan is to get it
sorted out in later patches or in GD2.
* Why this is needed? - Mainly because we need to only add
different log-level to some xlator to debug few things in a
production system, while not changing overall log-level. This
helps in better debug-ability.
Updates: bz#1193929
Change-Id: Ia4098ce39197cd423345b3d31fe8315481681ab8
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/performance/md-cache')
0 files changed, 0 insertions, 0 deletions