[Bugs] [Bug 1591621] Arequal checksum mismatch on older mount

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 18 09:37:41 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1591621

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20286 committed in master by "Raghavendra G"
<rgowdapp at redhat.com> with a commit message- performance/quick-read: provide an
invalidation based on ctime

Quick-read by default uses mtime to identify changes to file
data. However there are applications like rsync which explicitly set
mtime making it unreliable for the purpose of identifying change in
file content. Since ctime also changes when content of a file changes
and it cannot be set explicitly, it becomes suitable for identifying
staleness of cached data. This option makes quick-read to prefer ctime
over mtime to validate its cache. However, using ctime can result in
false positives as ctime changes with just attribute changes like
permission without changes to file data. So, use this option only when
mtime is not reliable.

credits to Kotresh Hiremath Ravishankar <khiremat at redhat.com> for
suggestion on using ctime instead of mtime.

Change-Id: Ib3ae39a3252b2876c8ffe81f471d02a87190e9b9
Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
Updates: bz#1591621

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=cpxWfcVuYr&a=cc_unsubscribe


More information about the Bugs mailing list