Hide Forgot
dht_readdir_cbk: subvol = dht_layout_search (this, layout, orig_entry->d_name); if (!subvol || (subvol != prev->this)) { entry = gf_dirent_for_name (orig_entry->d_name); if (!entry) { gf_log (this->name, GF_LOG_ERROR, "Out of memory"); goto unwind; } this is the old way of doing readdir which filters out the file if it does not belong to the hashed subvol. It should behave the way dht_readdirp_cbk does. This is a critical bug because of which distribute subvols can not be expanded because mount point will see not see all the files after defrag script is run after expansion. Faced this problem after upgrading to glusterfs-3.0.5 at a customer setup. This problem is showing now because fuse's readdir fop was changed from "readdirp" to "readdir" to speed up readdir.
Krishna, the code excerpt that you have pasted doesn't seem relevant. Can you please check from the latest release-3.0 code?
(In reply to comment #1) > Krishna, the code excerpt that you have pasted doesn't seem relevant. Can you > please check from the latest release-3.0 code? Vijay, just checked the latest code, the code pasted seems relevant and the bug seemed valid, can you recheck?