[Bugs] [Bug 1382266] New: md-cache: Invalidate cache entry in case of OPEN with O_TRUNC
bugzilla at redhat.com
bugzilla at redhat.com
Thu Oct 6 07:46:30 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1382266
Bug ID: 1382266
Summary: md-cache: Invalidate cache entry in case of OPEN with
O_TRUNC
Product: GlusterFS
Version: mainline
Component: md-cache
Severity: medium
Assignee: bugs at gluster.org
Reporter: skoduri at redhat.com
CC: bugs at gluster.org
Description of problem:
In case if there is open() done on a file with O_TRUNC posix flag passed, the
backend server truncates the file, resulting in change of size of the file.
This case needs to be handled by md-cache and should invalidate its cache-entry
accordingly.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
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