The meta translator presents glusterfs runtime internals as a virtual filesystem namespace, like /proc.
REVIEW: http://review.gluster.org/7504 (defaults: add new symbol default_fops) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7505 (fuse-resolve: loc_wipe() after inode_link()) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7506 (fuse: allow xlators to request for direct-io-mode on virtual files) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7507 (common-utils: new dirent compatible time fmt) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7506 (fuse: allow xlators to request for direct-io-mode on virtual files) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7507 (common-utils: new dirent compatible time fmt) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7504 (defaults: add new symbol default_fops) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7505 (fuse-resolve: loc_wipe() after inode_link()) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7506 (fuse: allow xlators to request for direct-io-mode on virtual files) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7507 (common-utils: new dirent compatible time fmt) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7504 (defaults: add new symbol default_fops) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7505 (fuse-resolve: loc_wipe() after inode_link()) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7506 (fuse: allow xlators to request for direct-io-mode on virtual files) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7507 (common-utils: new dirent compatible time fmt) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7504 (defaults: add new symbol default_fops) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7505 (fuse-resolve: loc_wipe() after inode_link()) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7506 (fuse: allow xlators to request for direct-io-mode on virtual files) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7507 (common-utils: new dirent compatible time fmt) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7504 (defaults: add new symbol default_fops) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7505 (fuse-resolve: loc_wipe() after inode_link()) posted (#5) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/7504 committed in master by Anand Avati (avati) ------ commit a67630b3970f9ad035a1d1463d9c2a6c6e7de736 Author: Anand Avati <avati> Date: Wed Mar 26 10:59:27 2014 -0700 defaults: add new symbol default_fops with members filled with pointers to appropriate default methods Change-Id: I6cdc43e4f6776e2ad45cd5cbca5642e0c639ffde BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7504 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu>
COMMIT: http://review.gluster.org/7505 committed in master by Anand Avati (avati) ------ commit bac02a359f86a742fbf750cf4f056160324d0746 Author: Anand Avati <avati> Date: Thu Mar 27 23:53:58 2014 -0700 fuse-resolve: loc_wipe() after inode_link() the inode to be linked may have the last ref. loc_wipe() can destroy it before inode_link() gets to ref it. Change-Id: Ic2d44084e6e9c8289f35cae82c8e4575af105398 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7505 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu>
COMMIT: http://review.gluster.org/7506 committed in master by Anand Avati (avati) ------ commit 81b32ab6e1c950577d0f2779db67283303e3e705 Author: Anand Avati <avati> Date: Thu Mar 27 06:35:34 2014 -0700 fuse: allow xlators to request for direct-io-mode on virtual files Translators like meta, create virtual files with dynamic content generated only at the time of open(). Therefore the file size returned in lookup or stat is 0 (just like files in /proc). However the VFS does not read beyond the size, and if the size is 0, no READ ever reaches gluster for that file -- unless direct-io-mode is enabled. This patch allows translators to return "direct-io-mode" flag for such 0-byte virtual files in xdata of open_cbk/create_cbk. Change-Id: I3fe3312cd96baa4eecfe1247ab7255b4f455f049 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7506 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu>
COMMIT: http://review.gluster.org/7507 committed in master by Anand Avati (avati) ------ commit 11473a6a10aaa5e62050e7e52115e2f8f10de124 Author: Anand Avati <avati> Date: Thu Mar 27 08:03:52 2014 -0700 common-utils: new dirent compatible time fmt Introduce a new time format without "/" and spaces, in order to be used in (virtual) filenames. Change-Id: I468be54f1ec7f45265add4c458e19d95567439f7 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7507 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu>
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7508 (strfd: memory backed file descriptor) posted (#7) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#7) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/7508 committed in master by Anand Avati (avati) ------ commit 2da51737c49f7917a974bdf9e6e566307583ad16 Author: Anand Avati <avati> Date: Thu Mar 27 21:21:12 2014 -0700 strfd: memory backed file descriptor A file descriptor like interface, backed by a string, on which fprintf() like IO can be performed. Internally the backing string is grown on demand. Useful in generating virtual file content on the fly (used in meta) Change-Id: I60d8751c4c750f3f06aa454a4ccd9909b3ac8ac7 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7508 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Gluster Build System <jenkins.com>
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#8) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#9) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#10) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf()) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#11) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf() API) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#1) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#12) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf() API) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#13) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf() API) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#14) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf() API) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#15) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#5) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf() API) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#7) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#7) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#7) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#16) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#6) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/7539 (strfd: introduce strvprintf() API) posted (#7) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/7539 committed in master by Anand Avati (avati) ------ commit 540065ba490339ce173552751953485fa32ed0bf Author: Anand Avati <avati> Date: Sat Mar 29 04:54:16 2014 -0700 strfd: introduce strvprintf() API variant of strprintf() which accepts va_list as parameter instead of variable args (...) Change-Id: I205acf3aaf5440890d5f9cad693c6a358a5d9218 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7539 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu>
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#8) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#8) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#8) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#17) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#7) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7653 (meta: print in json for stack/frames, cmdline and version) posted (#1) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7653 (meta: print in json for stack/frames, cmdline and version) posted (#2) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#9) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#9) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#9) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#18) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#8) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7653 (meta: print in json for stack/frames, cmdline and version) posted (#3) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7540 (statedump: strfd based APIs) posted (#10) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7541 (mem-accounting: store type string and print in meta) posted (#10) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7542 (meta: export process state dump) posted (#10) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7509 (meta: (re-)Implement Meta translator) posted (#19) for review on master by Harshavardhana (harsha)
REVIEW: http://review.gluster.org/7543 (mem-accounting: enable memory accounting by default) posted (#9) for review on master by Harshavardhana (harsha)
COMMIT: http://review.gluster.org/7540 committed in master by Anand Avati (avati) ------ commit 9021be1fc1a9460438ce74dc5df091834a0bdae0 Author: Anand Avati <avati> Date: Sat Mar 29 04:45:17 2014 -0700 statedump: strfd based APIs Expose strfd based APIs for extracing various types of xlator state information. Change-Id: Ibbb6594b6fb31206bc6a1b1ea6514ed41889583b BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7540 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Harshavardhana <harsha>
COMMIT: http://review.gluster.org/7541 committed in master by Anand Avati (avati) ------ commit 71ad38b3f86bdb0c4e9120b58ff451a6711ead9d Author: Anand Avati <avati> Date: Sat Mar 29 06:48:52 2014 -0700 mem-accounting: store type string and print in meta Change-Id: Ied1de473c72967110b54f033768f7ac60bf66edc BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7541 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Harshavardhana <harsha>
COMMIT: http://review.gluster.org/7543 committed in master by Anand Avati (avati) ------ commit 7fba3a88f1ced610eca0c23516a1e720d75160cd Author: Anand Avati <avati> Date: Sat Mar 29 06:59:39 2014 -0700 mem-accounting: enable memory accounting by default memory accounting are constant time operations which involve a few pointer dereferences and integer increments (no loops or searches etc.) benefits of having memory usage info outweigh the minor accounting overheads Change-Id: If9bc6db5ffd0e00f0fd64b2f6eed094bf3543996 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7543 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Harshavardhana <harsha>
COMMIT: http://review.gluster.org/7509 committed in master by Anand Avati (avati) ------ commit 8160399a36eff62a49a066f16dea9140d877c5e8 Author: Anand Avati <avati> Date: Wed Mar 26 11:52:53 2014 -0700 meta: (re-)Implement Meta translator The meta translator exposes details about glusterfs itself in the form of a virtual namespace. Loading the translator on the client side creates the meta virtual view under $mntpoint/.meta by default. The directory is not listed (even with ls -a) and can be accessed by doing a "cd /mnt/.meta" Change-Id: I5ffdf39203841a9562a8280a1f79dc76d4dded5d BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7509 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Harshavardhana <harsha>
COMMIT: http://review.gluster.org/7542 committed in master by Anand Avati (avati) ------ commit f01626d5bad8eb0298897e90a124301008cdd0da Author: Anand Avati <avati> Date: Sat Mar 29 06:01:36 2014 -0700 meta: export process state dump Various parts of process state dump are exposed through most appropriate virual files/dirs Change-Id: Iff30f8ea76552f2f6d9c98def688c5ec4bc6f2af BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7542 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Harshavardhana <harsha>
COMMIT: http://review.gluster.org/7653 committed in master by Anand Avati (avati) ------ commit a05c579f1c3695c4ddead0a5cfc2c92422bd4f8f Author: Harshavardhana <harsha> Date: Sat May 3 13:25:41 2014 -0700 meta: print in json for stack/frames, cmdline and version - Follow formatting rules based on RFC4627 - http://www.ietf.org/rfc/rfc4627.txt - Add checks for json in regression test meta.t Change-Id: I480d32ce042b202d3ed8939623c629a03b458551 BUG: 1089216 Signed-off-by: Harshavardhana <harsha> Reviewed-on: http://review.gluster.org/7653 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Anand Avati <avati>
REVIEW: http://review.gluster.org/7785 (meta: add .file_write method into meta_ops) posted (#1) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/7785 committed in master by Anand Avati (avati) ------ commit 98f5f436dd9106819dea8bc6c9a42e03ee1e31be Author: Anand Avati <avati> Date: Fri May 16 21:31:02 2014 -0700 meta: add .file_write method into meta_ops Add .file_write method in meta_ops and make write support into virtual files (like loglevel, measure_latency) much simpler. Change-Id: I812f782f645605c56f81b158bb0f289b3c8f909a BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7785 Reviewed-by: Krishnan Parthasarathi <kparthas> Reviewed-by: Vijay Bellur <vbellur> Tested-by: Gluster Build System <jenkins.com>
REVIEW: http://review.gluster.org/7789 (meta: fix compile warning) posted (#1) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/7789 committed in master by Pranith Kumar Karampuri (pkarampu) ------ commit 9dce23c30edb3622049d40ea16877c7b26e5753b Author: Anand Avati <avati> Date: Sun May 18 11:40:27 2014 -0700 meta: fix compile warning Change-Id: Ic346458b0e7264469d617b8313d4087b4b21c4b8 BUG: 1089216 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/7789 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Harshavardhana <harsha> Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Pranith Kumar Karampuri <pkarampu>
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users