summaryrefslogtreecommitdiffstats
path: root/extras/glusterfs.vim
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2012-05-11 18:11:31 +0530
committerVijay Bellur <vijay@gluster.com>2012-05-17 03:49:55 -0700
commit07c9a96627932ad3fc8c99193f8cfdae522ca9c1 (patch)
treea170c481afc65c60ea0d8bf451fec508af3d519c /extras/glusterfs.vim
parentcbcf82aa58058fe05dbd9a8d8879ca0364e5df95 (diff)
libglusterfs/fd: while dumping the fd_ctx use fd->xl_count
While dumping the fd_ctx when statedump is issued fd->xl_count should be used to determine the number of xlators instead of using latest graph's count, since while creating the fd only those many slots would have been allocated as the number of xlators in the graph at that instant. Then the graph would have changed, thus the xl count. All the above things should happen before any operation is done on fd, otherwise fd_ctx_set will allocate the extra slots for the new xlators present in the graph. Also added the program which can be used to reproduce the bug. Change-Id: I11fe75d71ef5d37e29e2958d53752aa31098c313 BUG: 820887 Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Reviewed-on: http://review.gluster.com/3335 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'extras/glusterfs.vim')
0 files changed, 0 insertions, 0 deletions