Bug 852526
| Summary: | CIFS cache coherency issue | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Neal Kim <nkim> |
| Component: | kernel | Assignee: | Sachin Prabhu <sprabhu> |
| Status: | CLOSED ERRATA | QA Contact: | Jian Li <jiali> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.8 | CC: | bgollahe, chad, dhoward, fharshav, jiali, jlayton, jwest, nmurray |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-2.6.18-340.el5 | Doc Type: | Bug Fix |
| Doc Text: |
Prior to this update, a process of continuously opening and closing a file within a second could prevent the data cache of a file from ever expiring. This resulted in stale data being presented on the client. With this update, the modify time and size stored in cache for an existing inode are compared with the modify time and size returned by the open() call; the cache is invalidated if the values differ.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-08 04:42:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 857964 | ||
|
Description
Neal Kim
2012-08-28 19:52:58 UTC
qa_ack is set, reproducor refer to comment 0. Patch(es) available in kernel-2.6.18-340.el5 You can download this test kernel (or newer) from http://people.redhat.com/plougher/el5/ Detailed testing feedback is always welcomed. If you require guidance regarding testing, please ask the bug assignee. This bug is reprodued on 2.6.18-308.4.1.el5, and verified on 2.6.18-340.el5. reproducer: [root@hp-xw4600-01 test]# uname -a Linux hp-xw4600-01.rhts.eng.nay.redhat.com 2.6.18-308.4.1.el5 #1 SMP Wed Mar 28 01:54:56 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux [root@hp-xw4600-01 test]# while true ; do sleep 0.1; stat tenths.out; cat tenths.out; done File: `tenths.out' Size: 21 Blocks: 8 IO Block: 16384 regular file Device: 18h/24d Inode: 55336 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 03:42:47.172587900 -0400 Modify: 2012-10-15 03:43:10.420473800 -0400 Change: 2012-10-15 03:43:10.420473800 -0400 1350286990.420848002 File: `tenths.out' Size: 21 Blocks: 8 IO Block: 16384 regular file Device: 18h/24d Inode: 55336 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 03:42:47.172587900 -0400 Modify: 2012-10-15 03:43:10.420473800 -0400 Change: 2012-10-15 03:43:10.420473800 -0400 1350286990.420848002 File: `tenths.out' Size: 21 Blocks: 8 IO Block: 16384 regular file Device: 18h/24d Inode: 55336 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 03:43:10.426473100 -0400 Modify: 2012-10-15 03:43:10.522530500 -0400 Change: 2012-10-15 03:43:10.522530500 -0400 1350286990.420848002 ** snip ** File: `tenths.out' Size: 21 Blocks: 8 IO Block: 16384 regular file Device: 18h/24d Inode: 55336 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 03:43:10.426473100 -0400 Modify: 2012-10-15 03:43:49.300411600 -0400 Change: 2012-10-15 03:43:49.300411600 -0400 1350286990.420848002 File: `tenths.out' Size: 21 Blocks: 8 IO Block: 16384 regular file Device: 18h/24d Inode: 55336 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 03:43:10.426473100 -0400 Modify: 2012-10-15 03:43:49.402410800 -0400 Change: 2012-10-15 03:43:49.402410800 -0400 1350286990.420848002 verifier: [root@nec-em16 test]# while true ; do sleep 0.1; stat tenths.out; cat tenths.out; done File: `tenths.out' Size: 21 Blocks: 16 IO Block: 16384 regular file Device: 18h/24d Inode: 13212 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 05:06:56.000000000 -0400 Modify: 2012-10-15 05:07:33.000000000 -0400 Change: 2012-10-15 05:07:33.000000000 -0400 1350292053.509999431 File: `tenths.out' Size: 21 Blocks: 16 IO Block: 16384 regular file Device: 18h/24d Inode: 13212 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 05:06:56.000000000 -0400 Modify: 2012-10-15 05:07:33.000000000 -0400 Change: 2012-10-15 05:07:33.000000000 -0400 1350292053.509999431 ** snip ** File: `tenths.out' Size: 21 Blocks: 16 IO Block: 16384 regular file Device: 18h/24d Inode: 13212 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 05:08:38.000000000 -0400 Modify: 2012-10-15 05:08:38.000000000 -0400 Change: 2012-10-15 05:08:38.000000000 -0400 1350292118.079576576 File: `tenths.out' Size: 21 Blocks: 16 IO Block: 16384 regular file Device: 18h/24d Inode: 13212 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 05:08:38.000000000 -0400 Modify: 2012-10-15 05:08:38.000000000 -0400 Change: 2012-10-15 05:08:38.000000000 -0400 1350292118.079576576 File: `tenths.out' Size: 21 Blocks: 16 IO Block: 16384 regular file Device: 18h/24d Inode: 13212 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 05:08:38.000000000 -0400 Modify: 2012-10-15 05:08:38.000000000 -0400 Change: 2012-10-15 05:08:38.000000000 -0400 1350292119.004581906 File: `tenths.out' Size: 21 Blocks: 16 IO Block: 16384 regular file Device: 18h/24d Inode: 13212 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-10-15 05:08:38.000000000 -0400 Modify: 2012-10-15 05:08:39.000000000 -0400 Change: 2012-10-15 05:08:39.000000000 -0400 1350292119.004581906 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0006.html |