summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.c
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2014-10-22 12:09:01 +0530
committerVenky Shankar <vshankar@redhat.com>2014-11-13 21:54:01 -0800
commit61f1a8fa322e4309989a9a5e022cad2bda55b751 (patch)
treedab5c9609cb2c058951ed799859d97d62cafa3a5 /libglusterfs/src/inode.c
parent6686deb9058ec62721868dd4e9f35a9245b9b5c7 (diff)
feature/changelog: Fix changelog missing SETATTR entries.
Problem: Valid SETATTR entries are missing in changelog when more than one metadata operation happen on same inode within changelog roll-over time. Cause: Metadata entries with fop num being GF_FOP_NULL are logged in changelog which is of no use. Since slice version checking is done for metadata entries to avoid logging of subsequent entries of same inode falling into same changelog, if the entry with GF_FOP_NULL is logged first, subsequent valid ones will be missed. Solution: Have a boundary condition to log only those fops whose fop number falls between GF_FOP_NULL and GF_FOP_MAXVALUE. BUG: 1159213 Change-Id: I128cad323afba7d33f48df1ee5e78cb829536211 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/8964 Reviewed-by: Aravinda VK <avishwan@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Venky Shankar <vshankar@redhat.com> Reviewed-on: http://review.gluster.org/9028
Diffstat (limited to 'libglusterfs/src/inode.c')
0 files changed, 0 insertions, 0 deletions