Bug 140383
Summary: | BLKFLSBUF ioctl can cause other reads | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | sheryl sage <sheryl.sage> | ||||
Component: | kernel | Assignee: | Jeff Moyer <jmoyer> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | bjohnson, davej, kanderso, linux26port, rkenna, shillman, tburke | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-06-08 15:12:55 UTC | Type: | --- | ||||
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: | 146015, 147461 | ||||||
Attachments: |
|
Description
sheryl sage
2004-11-22 18:37:29 UTC
Sheryl, do you have production code that causes this ? BLKFLSBUF does invalidate_bdev() -> invalidate_inode_pages() -> invalidate_complete_page() which clears the uptodate page flag even if others are looking at this page. Sorry no we do not have a patch but are requesting one from RedHat that fixes the problem. Any status? 1.15/mm/truncate.c may have the fix to this problem. Created attachment 111279 [details]
Fix invalidate page race
This is the patch that was committed upstream to address this problem. I have
tested it, and verified that the reproducer runs without errors. I also tested
the data copied (via dd) to ensure that it is correct.
Fix confirmed in kernel-2.6.9-6.39.EL. Moving to PROD_READY. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-420.html |