diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-04-19 16:30:19 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-04-29 04:45:46 -0700 |
commit | 29af4da4b552442e487a898d0b3172a78da0c663 (patch) | |
tree | ef4f5bfceb39e889b5907b4b4c48c39472bf39e6 /cli/src/cli.c | |
parent | fe7d28e5981620f82447c264c00cf39e67f557cf (diff) |
glusterd/snapshot : Dont acquire a lock if config is of
type DISPLAY.
Problem : Currently we are acquiring a lock if we give
"gluster snapshot config <volname>". As this is just a
Read-Only command, we need not acquire a lock.
Solution : This patch checks if the command given is of
type DISPLAY. If so, then glusterd_v3_mgmt framework is
not called, as reading information from local node is
enough.
This Patch also fixes "Assertion failed: volname" while
doing the system config change when snap create was in
progress.
Change-Id: Ie8991f2cd746987b11152006e113e8706516138b
BUG: 1087677
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7458
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli/src/cli.c')
0 files changed, 0 insertions, 0 deletions