[Bugs] [Bug 1158123] New: Quick-read translator does not invalidate its cache
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 28 16:01:33 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1158123
Bug ID: 1158123
Summary: Quick-read translator does not invalidate its cache
Product: GlusterFS
Version: 3.6.0
Component: quick-read
Severity: high
Assignee: bugs at gluster.org
Reporter: pspencer at fields.utoronto.ca
CC: bugs at gluster.org, gluster-bugs at redhat.com
Created attachment 951441
--> https://bugzilla.redhat.com/attachment.cgi?id=951441&action=edit
Patch to make quick-read invalidate its cache when requested
This is one of the "other bugs" mentioned in bug #1158120.
When running the same example as in that bug report on a filesystem mounted
with o-direct, with that patch applied, then the output is sometimes correct
$ echo init > $D/f; cat $D/f; ssh $OTHER_HOST "echo second > $D/$f"; cat $D/f
init
second
but sometimes gives
$ echo init > $D/f; cat $D/f; ssh $OTHER_HOST "echo second > $D/$f"; cat $D/f
init
init
d
This is because the quick-read translator does not respond to cache
invalidation requests. The attached patch makes it listen to invalidation
requests and discard its cache.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list