Description of problem: Without this feature, implementing a proper stat-prefetch/xattr-prefetch will not be complete. Version-Release number of selected component (if applicable): git master, 3.3.0 How reproducible: Feature not present as of now.. Additional info: Enhancement Request
CHANGE: http://review.gluster.com/771 (core: get xattrs also as part of readdirp) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/2713 (md-cache: meta-data caching translator) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/2714 (md-cache: replace stat-prefetch with md-cache in a backward compatible way) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/2853 (Fix memory leaks found in readdir) merged in master by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/2974 (libglusterfs/call-stub: ref dict while storing it in readdirp stub) merged in master by Vijay Bellur (vijay)
Now with readdirp the xattrs of the files are also received. Checked with glusterfs-3.3.0qa43. default_readdirp (call_frame_t *frame, xlator_t *this, fd_t *fd, 1120 size_t size, off_t off) 1120 size_t size, off_t off, dict_t *dict) 1121 { 1121 { 1122 STACK_WIND (frame, default_readdirp_cbk, FIRST_CHILD(this), 1122 STACK_WIND (frame, default_readdirp_cbk, FIRST_CHILD(this), 1123 FIRST_CHILD(this)->fops->readdirp, fd, size, off); 1123 FIRST_CHILD(this)->fops->readdirp, fd, size, off, dict); 1124 return 0; 1124 return 0; 1125 } 1125 }
CHANGE: http://review.gluster.com/3538 (md-cache: cache SELinux and Posix ACL xattrs only if enabled) merged in master by Anand Avati (avati)
REVIEW: http://review.gluster.org/4994 (md-cache: Make options structure NULL terminated) posted (#2) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/5028 (md-cache: Make options structure NULL terminated) posted (#1) for review on release-3.4 by Krishnan Parthasarathi (kparthas)
COMMIT: http://review.gluster.org/5028 committed in release-3.4 by Anand Avati (avati) ------ commit 7ecc172ade1b8c42086b53084c509d217c82229a Author: Krishnan Parthasarathi <kparthas> Date: Mon May 13 17:50:56 2013 +0530 md-cache: Make options structure NULL terminated Change-Id: I8aa4f90ba7e1eecf3f978be04f8550049275464f BUG: 765785 Signed-off-by: Krishnan Parthasarathi <kparthas> Reviewed-on: http://review.gluster.org/5028 Reviewed-by: Amar Tumballi <amarts> Tested-by: Gluster Build System <jenkins.com>
REVIEW: http://review.gluster.org/4994 (md-cache: Make options structure NULL terminated.) posted (#3) for review on master by Anand Avati (avati)
COMMIT: http://review.gluster.org/4994 committed in master by Anand Avati (avati) ------ commit 2eed9c78569311e4fa75735d67e8838cc79109a7 Author: Krishnan Parthasarathi <kparthas> Date: Mon May 13 17:50:56 2013 +0530 md-cache: Make options structure NULL terminated. Change-Id: I8aa4f90ba7e1eecf3f978be04f8550049275464f BUG: 765785 Signed-off-by: Krishnan Parthasarathi <kparthas> Reviewed-on: http://review.gluster.org/4994 Reviewed-by: Anand Avati <avati> Tested-by: Anand Avati <avati>