"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xlators/cluster/afr/src/afr-dir-write.c" between
glusterfs-7.5.tar.gz and glusterfs-7.6.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 7.x (latest version).

afr-dir-write.c  (glusterfs-7.5):afr-dir-write.c  (glusterfs-7.6)
skipping to change at line 122 skipping to change at line 122
local->op_ret = -1; local->op_ret = -1;
local->op_errno = afr_final_errno(local, priv); local->op_errno = afr_final_errno(local, priv);
afr_pick_error_xdata(local, priv, local->parent, local->readable, afr_pick_error_xdata(local, priv, local->parent, local->readable,
local->parent2, local->readable2); local->parent2, local->readable2);
for (i = 0; i < priv->child_count; i++) { for (i = 0; i < priv->child_count; i++) {
if (!local->replies[i].valid) if (!local->replies[i].valid)
continue; continue;
if (local->replies[i].op_ret < 0) { if (local->replies[i].op_ret < 0) {
if (local->inode) if (local->inode)
afr_inode_event_gen_reset(local->inode, this); afr_inode_need_refresh_set(local->inode, this);
if (local->parent) if (local->parent)
afr_inode_event_gen_reset(local->parent, this); afr_inode_need_refresh_set(local->parent, this);
if (local->parent2) if (local->parent2)
afr_inode_event_gen_reset(local->parent2, this); afr_inode_need_refresh_set(local->parent2, this);
continue; continue;
} }
if (local->op_ret == -1) { if (local->op_ret == -1) {
local->op_ret = local->replies[i].op_ret; local->op_ret = local->replies[i].op_ret;
local->op_errno = local->replies[i].op_errno; local->op_errno = local->replies[i].op_errno;
local->cont.dir_fop.buf = local->replies[i].poststat; local->cont.dir_fop.buf = local->replies[i].poststat;
local->cont.dir_fop.preparent = local->replies[i].preparent; local->cont.dir_fop.preparent = local->replies[i].preparent;
local->cont.dir_fop.postparent = local->replies[i].postparent; local->cont.dir_fop.postparent = local->replies[i].postparent;
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)