summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2014-10-22 12:09:01 +0530
committerVenky Shankar <vshankar@redhat.com>2014-10-29 01:54:12 -0700
commit5ae0df29b4e590d9a8a5f3c8f9e98cc944b006cf (patch)
tree3e06f75042ad9f871f8dbf6a6454af65b489ba0e /xlators/storage/posix/src/posix.c
parentef03f98bf9b5f7f317383b84d251299b8939e5cc (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. Change-Id: Iff585ea573ac5e521a361541c6646225943f0b2d BUG: 1104954 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>
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
0 files changed, 0 insertions, 0 deletions